diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 23:21:56 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 23:21:56 +0000 |
commit | 3683adf58bcf7041346f00014c8f12405ae5ef9f (patch) | |
tree | 38eed840412df9f2af2d40283a40ff9175587c7b /ui/aura/root_window_unittest.cc | |
parent | 128cb993ff3bea633db73624683d838a5e2981c6 (diff) | |
download | chromium_src-3683adf58bcf7041346f00014c8f12405ae5ef9f.zip chromium_src-3683adf58bcf7041346f00014c8f12405ae5ef9f.tar.gz chromium_src-3683adf58bcf7041346f00014c8f12405ae5ef9f.tar.bz2 |
cros: Fix window rotation animation
If a user presses Ctrl-Alt-Shift-F3 repeated their windows can get stuck in
a partially rotated state. The rotation animation chooses its target rotation
and transform based on the values at the start of the animation. By default,
if we trigger a new animation it immediately computes a new target based on
the current values. Instead, queue the animations so we're sure things are
back to neutral before starting a new one.
BUG=154875
TEST=manual, hit Ctrl-Alt-Shift-F3 repeatedly and ensure windows end up in normal position
Review URL: https://chromiumcodereview.appspot.com/11066085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window_unittest.cc')
0 files changed, 0 insertions, 0 deletions