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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_cursor_manager.h

Issue 92413002: Cursor state should be global for all CursorManagers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed 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/widget/desktop_aura/desktop_native_cursor_manager.h
diff --git a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
index 563131d92cc006e23e5332a3bc6c42b8e241155f..e4ced9d287e22b3c48bfcc870eb408a3ae4a74fe 100644
--- a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
+++ b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
@@ -59,6 +59,9 @@ class VIEWS_EXPORT DesktopNativeCursorManager
bool enabled,
views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE;
+ // TODO(tdanderson): We should store a static set of root windows
+ // and notify all of them whenever the cursor state changes (similar
+ // to what AshNativeCursorManager does).
aura::RootWindow* root_window_;
scoped_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater_;
scoped_ptr<ui::CursorLoader> cursor_loader_;
« no previous file with comments | « ui/views/corewm/native_cursor_manager_delegate.h ('k') | ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698