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

Unified Diff: ui/aura/root_window_host.h

Issue 11047012: Wiring metro mouse events to aura viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host.h
===================================================================
--- ui/aura/root_window_host.h (revision 160403)
+++ ui/aura/root_window_host.h (working copy)
@@ -31,13 +31,15 @@
virtual ~RootWindowHost() {}
// Creates a new RootWindowHost. The caller owns the returned value.
- static RootWindowHost* Create(RootWindowHostDelegate* delegate,
- const gfx::Rect& bounds);
+ static RootWindowHost* Create(const gfx::Rect& bounds);
// Returns the actual size of the screen.
// (gfx::Screen only reports on the virtual desktop exposed by Aura.)
static gfx::Size GetNativeScreenSize();
+ // Sets the delegate, which is normally done by the root window.
+ virtual void SetDelegate(RootWindowHostDelegate* delegate) = 0;
+
virtual RootWindow* GetRootWindow() = 0;
// Returns the RootWindowHost for the specified accelerated widget, or NULL if
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698