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; |