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

Unified Diff: trunk/src/ui/aura/client/cursor_client.h

Issue 233693002: Revert 263043 "Remove obsolete scale related APIs for cursor" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/ash/wm/ash_native_cursor_manager_unittest.cc ('k') | trunk/src/ui/aura/test/test_cursor_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/aura/client/cursor_client.h
===================================================================
--- trunk/src/ui/aura/client/cursor_client.h (revision 263047)
+++ trunk/src/ui/aura/client/cursor_client.h (working copy)
@@ -39,6 +39,12 @@
// invisible.
virtual void HideCursor() = 0;
+ // Sets the scale of the mouse cursor icon.
+ virtual void SetScale(float scale) = 0;
+
+ // Gets the current scale of the mouse cursor icon.
+ virtual float GetScale() const = 0;
+
// Sets the type of the mouse cursor icon.
virtual void SetCursorSet(ui::CursorSetType cursor_set) = 0;
« no previous file with comments | « trunk/src/ash/wm/ash_native_cursor_manager_unittest.cc ('k') | trunk/src/ui/aura/test/test_cursor_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698