Index: ui/aura/window_tree_host.h |
diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h |
index f31992c9b99272b3ff9f273a8995f5419e5bd662..fcbcbd82516f3329f3faf4daaff6e320defb0fe0 100644 |
--- a/ui/aura/window_tree_host.h |
+++ b/ui/aura/window_tree_host.h |
@@ -5,6 +5,7 @@ |
#ifndef UI_AURA_WINDOW_TREE_HOST_H_ |
#define UI_AURA_WINDOW_TREE_HOST_H_ |
+#include <memory> |
#include <vector> |
#include "base/event_types.h" |
@@ -39,6 +40,7 @@ class WindowTreeHostTestApi; |
} |
class WindowEventDispatcher; |
+class WindowPort; |
class WindowTreeHostObserver; |
// WindowTreeHost bridges between a native window and the embedded RootWindow. |
@@ -184,6 +186,8 @@ class AURA_EXPORT WindowTreeHost : public ui::internal::InputMethodDelegate, |
friend class TestScreen; // TODO(beng): see if we can remove/consolidate. |
WindowTreeHost(); |
+ explicit WindowTreeHost(std::unique_ptr<WindowPort> window_port); |
+ |
void DestroyCompositor(); |
void DestroyDispatcher(); |