Index: services/ui/ws/window_tree.h |
diff --git a/services/ui/ws/window_tree.h b/services/ui/ws/window_tree.h |
index 6fc0a9667b579556948df487d0d4d49257b1f4bc..f0d24a95a3550d7817e1d1f223c5037088b17366 100644 |
--- a/services/ui/ws/window_tree.h |
+++ b/services/ui/ws/window_tree.h |
@@ -77,6 +77,9 @@ class WindowTree : public mojom::WindowTree, |
void Init(std::unique_ptr<WindowTreeBinding> binding, |
mojom::WindowTreePtr tree); |
+ // Call WindowTreeClient::OnEmbed. |
fwang
2017/02/28 08:23:53
I think it's "Calls" for consistency with other co
tonikitoo
2017/03/01 05:05:44
Done.
|
+ void DoOnEmbed(mojom::WindowTreePtr tree, ServerWindow* root); |
+ |
// Called if this WindowTree hosts a WindowManager. |
void ConfigureWindowManager(); |
@@ -153,6 +156,9 @@ class WindowTree : public mojom::WindowTree, |
// any messages. |
void PrepareForWindowServerShutdown(); |
+ // Adds a new root to this tree. |
+ void AddRoot(const ServerWindow* root); |
+ |
// Adds a new root to this tree. This is only valid for window managers. |
void AddRootForWindowManager(const ServerWindow* root); |