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

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

Issue 12263050: Rework ash::CursorManager into a corewm object, to share code with desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: General patch cleanup. Created 7 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/widget/desktop_aura/desktop_root_window_host_win.h
diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_win.h b/ui/views/widget/desktop_aura/desktop_root_window_host_win.h
index a62b1b4d4b13b1c975d28b882d0bf4dfaccaddaa..b4a7c071a6237a976a8130d160f93b13369223fa 100644
--- a/ui/views/widget/desktop_aura/desktop_root_window_host_win.h
+++ b/ui/views/widget/desktop_aura/desktop_root_window_host_win.h
@@ -25,6 +25,10 @@ class DesktopDispatcherClient;
class DesktopDragDropClientWin;
class HWNDMessageHandler;
+namespace corewm {
+class CursorManager;
+}
+
class VIEWS_EXPORT DesktopRootWindowHostWin
: public DesktopRootWindowHost,
public aura::RootWindowHost,
@@ -225,8 +229,8 @@ class VIEWS_EXPORT DesktopRootWindowHostWin
// do, we're responsible for the lifetime.
scoped_ptr<aura::client::ScreenPositionClient> position_client_;
- // A simple cursor client which just forwards events to the RootWindow.
- scoped_ptr<DesktopCursorClient> cursor_client_;
+ // Controls visibility of the cursor.
+ scoped_ptr<views::corewm::CursorManager> cursor_client_;
scoped_ptr<DesktopDragDropClientWin> drag_drop_client_;

Powered by Google App Engine
This is Rietveld 408576698