Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: ash/test/cursor_manager_test_api.h

Issue 226293005: Use platform's device scale factor for cursor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new tests Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/test/cursor_manager_test_api.h
diff --git a/ash/test/cursor_manager_test_api.h b/ash/test/cursor_manager_test_api.h
index 1b9c6b82ce7ee78acd17b2bab1fd69b5c8642af3..fce98ca2422277d4a3fffa576850930b14d17ea9 100644
--- a/ash/test/cursor_manager_test_api.h
+++ b/ash/test/cursor_manager_test_api.h
@@ -7,12 +7,9 @@
#include "base/basictypes.h"
#include "ui/base/cursor/cursor.h"
+#include "ui/gfx/display.h"
#include "ui/gfx/native_widget_types.h"
-namespace gfx {
-class Display;
-}
-
namespace wm {
class CursorManager;
}
@@ -28,7 +25,8 @@ class CursorManagerTestApi {
ui::CursorSetType GetCurrentCursorSet() const;
gfx::NativeCursor GetCurrentCursor() const;
- gfx::Display GetDisplay() const;
+ gfx::Display::Rotation GetCurrentCursorRotation() const;
+ float GetCurrentCursorScale() const;
private:
::wm::CursorManager* cursor_manager_;

Powered by Google App Engine
This is Rietveld 408576698