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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 273073002: Changes code using Compositor to pass in ContextFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tooltip on chromeos Created 6 years, 7 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_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index b709b83dfde257b56cae9aea14363aae34aff7c4..1ba8c2d71174c9858b112753d755c1dbfc2ebde7 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -80,7 +80,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
protected:
// Overridden from DesktopWindowTreeHost:
virtual void Init(aura::Window* content_window,
- const Widget::InitParams& params) OVERRIDE;
+ const Widget::InitParams& params,
+ ui::ContextFactory* context_factory) OVERRIDE;
virtual void OnNativeWidgetCreated(const Widget::InitParams& params) OVERRIDE;
virtual scoped_ptr<corewm::Tooltip> CreateTooltip() OVERRIDE;
virtual scoped_ptr<aura::client::DragDropClient>
@@ -160,7 +161,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
private:
// Initializes our X11 surface to draw on. This method performs all
// initialization related to talking to the X11 server.
- void InitX11Window(const Widget::InitParams& params);
+ void InitX11Window(const Widget::InitParams& params,
+ ui::ContextFactory* context_factory);
// Creates an aura::WindowEventDispatcher to contain the |content_window|,
// along with all aura client objects that direct behavior.

Powered by Google App Engine
This is Rietveld 408576698