diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 20:22:31 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 20:22:31 +0000 |
commit | cf562b77683aeb8458aa3040a45f35475b59b763 (patch) | |
tree | ab7cacd23c436d5594d049449a1cf0546f0f58b8 /ash/wm/ash_native_cursor_manager.h | |
parent | dc9df8abc079c3040d47d6b9bdd284d82766ab27 (diff) | |
download | chromium_src-cf562b77683aeb8458aa3040a45f35475b59b763.zip chromium_src-cf562b77683aeb8458aa3040a45f35475b59b763.tar.gz chromium_src-cf562b77683aeb8458aa3040a45f35475b59b763.tar.bz2 |
Rotate Cursor when the display is rotated
- moved Rotation enum from ash to gfx::Display so that
views/ui can use it.
- rotate image and hot point.
BUG=119268
TEST=covered by unit tests, and also test on device.
Review URL: https://chromiumcodereview.appspot.com/12666006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188174 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/ash_native_cursor_manager.h')
-rw-r--r-- | ash/wm/ash_native_cursor_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/ash_native_cursor_manager.h b/ash/wm/ash_native_cursor_manager.h index 2364c70..07a7168 100644 --- a/ash/wm/ash_native_cursor_manager.h +++ b/ash/wm/ash_native_cursor_manager.h @@ -36,8 +36,8 @@ class ASH_EXPORT AshNativeCursorManager friend class test::CursorManagerTestApi; // Overridden from views::corewm::NativeCursorManager: - virtual void SetDeviceScaleFactor( - float device_scale_factor, + virtual void SetDisplay( + const gfx::Display& display, views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; virtual void SetCursor( gfx::NativeCursor cursor, |