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

Unified Diff: ash/test/cursor_manager_test_api.cc

Issue 249303002: Revert of Use platform's device scale factor for cursor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « ash/test/cursor_manager_test_api.h ('k') | ash/wm/ash_native_cursor_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/cursor_manager_test_api.cc
diff --git a/ash/test/cursor_manager_test_api.cc b/ash/test/cursor_manager_test_api.cc
index 4ff7cf76acade641f34c772ff0f5c19da7230b98..22aa2615116908bc7555c50b8c8ffb1a42324d5c 100644
--- a/ash/test/cursor_manager_test_api.cc
+++ b/ash/test/cursor_manager_test_api.cc
@@ -31,16 +31,9 @@
return cursor_manager_->GetCursor();
}
-gfx::Display::Rotation
-CursorManagerTestApi::GetCurrentCursorRotation() const {
+gfx::Display CursorManagerTestApi::GetDisplay() const {
return ShellTestApi(Shell::GetInstance()).ash_native_cursor_manager()->
- image_cursors_->GetRotation();
-}
-
-float
-CursorManagerTestApi::GetCurrentCursorScale() const {
- return ShellTestApi(Shell::GetInstance()).ash_native_cursor_manager()->
- image_cursors_->GetScale();
+ image_cursors_->GetDisplay();
}
} // namespace test
« no previous file with comments | « ash/test/cursor_manager_test_api.h ('k') | ash/wm/ash_native_cursor_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698