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

Unified Diff: ui/views/corewm/cursor_manager.h

Issue 145313003: Implement cursor compositing mode on Ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of current_cursor_set_ and requested_cursor_set_ Created 6 years, 10 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: ui/views/corewm/cursor_manager.h
diff --git a/ui/views/corewm/cursor_manager.h b/ui/views/corewm/cursor_manager.h
index 29f890ae6bd899d76ea75566801b8187a9523546..56c158735340443d32d418a17c67c3372f3e1b5b 100644
--- a/ui/views/corewm/cursor_manager.h
+++ b/ui/views/corewm/cursor_manager.h
@@ -61,6 +61,11 @@ class VIEWS_EXPORT CursorManager : public aura::client::CursorClient,
virtual void RemoveObserver(
aura::client::CursorClientObserver* observer) OVERRIDE;
+ // Toggles native cursor enabled/disabled.
+ // The native cursor is enabled by default.
+ // When disabled, native cursor is hidden even when cursor is visible.
+ void SetNativeCursorEnabled(bool enabled);
+
private:
// Overridden from NativeCursorManagerDelegate:
virtual void CommitCursor(gfx::NativeCursor cursor) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698