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

Unified Diff: ui/aura/root_window_host.h

Issue 10241005: Make win_aura work without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/aura/root_window_host.h
===================================================================
--- ui/aura/root_window_host.h (revision 134107)
+++ ui/aura/root_window_host.h (working copy)
@@ -34,9 +34,15 @@
// (gfx::Screen only reports on the virtual desktop exposed by Aura.)
static gfx::Size GetNativeScreenSize();
+ // Returns the RootWindowHost for the specified accelerated widget, or NULL if
+ // there is none associated.
+ static RootWindowHost* GetForAcceleratedWidget(
+ gfx::AcceleratedWidget accelerated_widget);
+
// Sets the RootWindow this RootWindowHost is hosting. RootWindowHost does not
// own the RootWindow.
virtual void SetRootWindow(RootWindow* root_window) = 0;
+ virtual RootWindow* GetRootWindow() = 0;
// Returns the accelerated widget.
virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0;

Powered by Google App Engine
This is Rietveld 408576698