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

Unified Diff: ui/aura/window_tree_host.h

Issue 2446893005: Adds a porting layer so aura can be made to work with mus (Closed)
Patch Set: better Created 4 years, 2 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_property.h ('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 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();
« no previous file with comments | « ui/aura/window_property.h ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698