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

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

Issue 92413002: Cursor state should be global for all CursorManagers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for review 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..9afe3949d4d5ee14bd75610a0b7b74aaed896fc2 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 bool IsCursorVisible() const = 0;
+ virtual gfx::NativeCursor GetCursor() const = 0;
virtual void CommitCursor(gfx::NativeCursor cursor) = 0;
virtual void CommitVisibility(bool visible) = 0;

Powered by Google App Engine
This is Rietveld 408576698