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

Unified Diff: ui/aura/window_tree_host.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
« no previous file with comments | « ui/aura/window_event_dispatcher_unittest.cc ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.h
diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h
index 9d54944777f1dfb776868485abfc1dad1d8749cf..7c44b947aff11aba369981ec22a87caa769d0e41 100644
--- a/ui/aura/window_tree_host.h
+++ b/ui/aura/window_tree_host.h
@@ -24,6 +24,7 @@ class Transform;
namespace ui {
class Compositor;
+class ContextFactory;
class EventProcessor;
class ViewProp;
}
@@ -44,7 +45,8 @@ class AURA_EXPORT WindowTreeHost {
virtual ~WindowTreeHost();
// Creates a new WindowTreeHost. The caller owns the returned value.
- static WindowTreeHost* Create(const gfx::Rect& bounds);
+ static WindowTreeHost* Create(const gfx::Rect& bounds,
+ ui::ContextFactory* context_factory);
// Returns the WindowTreeHost for the specified accelerated widget, or NULL
// if there is none associated.
@@ -152,7 +154,8 @@ class AURA_EXPORT WindowTreeHost {
void DestroyCompositor();
void DestroyDispatcher();
- void CreateCompositor(gfx::AcceleratedWidget accelerated_widget);
+ void CreateCompositor(gfx::AcceleratedWidget accelerated_widget,
+ ui::ContextFactory* context_factory);
// Returns the location of the RootWindow on native screen.
virtual gfx::Point GetLocationOnNativeScreen() const = 0;
« no previous file with comments | « ui/aura/window_event_dispatcher_unittest.cc ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698