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

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

Issue 10939006: Make cursors work on win aura. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win build Created 8 years, 3 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_root_window_host_win.h
===================================================================
--- ui/views/widget/desktop_root_window_host_win.h (revision 157082)
+++ ui/views/widget/desktop_root_window_host_win.h (working copy)
@@ -11,9 +11,13 @@
namespace aura {
class DesktopActivationClient;
+class DesktopCursorClient;
class DesktopDispatcherClient;
class FocusManager;
+namespace client {
+class ScreenPositionClient;
}
+}
namespace views {
class DesktopCaptureClient;
@@ -174,6 +178,13 @@
aura::RootWindowHostDelegate* root_window_host_delegate_;
aura::Window* content_window_;
+ // In some cases, we set a screen position client on |root_window_|. If we
+ // 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<aura::DesktopCursorClient> cursor_client_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
};

Powered by Google App Engine
This is Rietveld 408576698