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

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: Rebase to ToT 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 a173220a54e569dc231e7338d1143839c311e0aa..df72607ea3af5a4fa08094f753b17966b689bbb7 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,
@@ -226,8 +230,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