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

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

Issue 111043002: Cursor state should be global for desktop Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test added Created 7 years 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/native_cursor_manager_delegate.h
diff --git a/ui/views/corewm/native_cursor_manager_delegate.h b/ui/views/corewm/native_cursor_manager_delegate.h
index ea3788f883f5f1a3da0641f7d411d12284888725..491ab47b1b445518059011cda340622e7b5ff33f 100644
--- a/ui/views/corewm/native_cursor_manager_delegate.h
+++ b/ui/views/corewm/native_cursor_manager_delegate.h
@@ -19,11 +19,9 @@ class VIEWS_EXPORT NativeCursorManagerDelegate {
public:
virtual ~NativeCursorManagerDelegate() {}
- virtual gfx::NativeCursor GetCurrentCursor() const = 0;
- virtual bool GetCurrentVisibility() const = 0;
- virtual float GetCurrentScale() const = 0;
- virtual ui::CursorSetType GetCurrentCursorSet() const = 0;
- virtual bool GetMouseEventsEnabled() const = 0;
+ // TODO(tdanderson): Possibly remove this interface.
+ virtual gfx::NativeCursor GetCursor() const = 0;
+ virtual bool IsCursorVisible() const = 0;
virtual void CommitCursor(gfx::NativeCursor cursor) = 0;
virtual void CommitVisibility(bool visible) = 0;

Powered by Google App Engine
This is Rietveld 408576698