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

Unified Diff: ui/aura/root_window_host_linux.h

Issue 10825050: Introduce RootWindowHostDelegate. The RootWindowHost performs most of its communication with RootWi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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_host_delegate.h ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_linux.h
===================================================================
--- ui/aura/root_window_host_linux.h (revision 148788)
+++ ui/aura/root_window_host_linux.h (working copy)
@@ -25,7 +25,8 @@
class RootWindowHostLinux : public RootWindowHost,
public MessageLoop::Dispatcher {
public:
- explicit RootWindowHostLinux(const gfx::Rect& bounds);
+ RootWindowHostLinux(RootWindowHostDelegate* delegate,
+ const gfx::Rect& bounds);
virtual ~RootWindowHostLinux();
// Overridden from Dispatcher overrides:
@@ -33,7 +34,6 @@
private:
// RootWindowHost Overrides.
- virtual void SetRootWindow(RootWindow* root_window) OVERRIDE;
virtual RootWindow* GetRootWindow() OVERRIDE;
virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
virtual void Show() OVERRIDE;
@@ -65,7 +65,7 @@
// |current_cursor_|.
void SetCursorInternal(gfx::NativeCursor cursor);
- RootWindow* root_window_;
+ RootWindowHostDelegate* delegate_;
// The display and the native X window hosting the root window.
Display* xdisplay_;
« no previous file with comments | « ui/aura/root_window_host_delegate.h ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698