summaryrefslogtreecommitdiffstats
path: root/ash/test/cursor_manager_test_api.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 20:22:31 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 20:22:31 +0000
commitcf562b77683aeb8458aa3040a45f35475b59b763 (patch)
treeab7cacd23c436d5594d049449a1cf0546f0f58b8 /ash/test/cursor_manager_test_api.h
parentdc9df8abc079c3040d47d6b9bdd284d82766ab27 (diff)
downloadchromium_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/test/cursor_manager_test_api.h')
-rw-r--r--ash/test/cursor_manager_test_api.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ash/test/cursor_manager_test_api.h b/ash/test/cursor_manager_test_api.h
index 8299822..254be4f 100644
--- a/ash/test/cursor_manager_test_api.h
+++ b/ash/test/cursor_manager_test_api.h
@@ -8,6 +8,10 @@
#include "base/basictypes.h"
#include "ui/gfx/native_widget_types.h"
+namespace gfx {
+class Display;
+}
+
namespace views {
namespace corewm {
class CursorManager;
@@ -24,7 +28,7 @@ class CursorManagerTestApi {
~CursorManagerTestApi();
gfx::NativeCursor GetCurrentCursor() const;
- float GetDeviceScaleFactor() const;
+ gfx::Display GetDisplay() const;
private:
views::corewm::CursorManager* cursor_manager_;