diff options
author | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-22 19:20:35 +0000 |
---|---|---|
committer | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-22 19:20:35 +0000 |
commit | 3b639bcefe133191bd99813d2568647d605381f1 (patch) | |
tree | a90d31e0ddfb8a2dcc123def166bf684f71f266e /ash/screenshot_delegate.h | |
parent | 92483ea87f4955d282747489ba2c526dd33c31db (diff) | |
download | chromium_src-3b639bcefe133191bd99813d2568647d605381f1.zip chromium_src-3b639bcefe133191bd99813d2568647d605381f1.tar.gz chromium_src-3b639bcefe133191bd99813d2568647d605381f1.tar.bz2 |
Fix hinge angle calculations while device is rotated.
This did not affect maximize mode changes very much as with the incorrect calculation the hinge angle tends towards 0 or 360 (depending on whether it is past 180 or not) which would preserve the current mode.
BUG=None
TEST=Manual, verified with logging that angle is consistent as device is rotated towards near vertical angle.
Review URL: https://codereview.chromium.org/246013005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/screenshot_delegate.h')
0 files changed, 0 insertions, 0 deletions