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

Unified Diff: services/ui/ws/window_tree.h

Issue 2712203002: c++ / mojo changes for 'external window mode'
Patch Set: addressing fwang/sky feedback Created 3 years, 10 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
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..c105cfca2cde12a63a561f4cc721ab6219664cba 100644
--- a/services/ui/ws/window_tree.h
+++ b/services/ui/ws/window_tree.h
@@ -149,10 +149,16 @@ class WindowTree : public mojom::WindowTree,
WindowServer* window_server() { return window_server_; }
const WindowServer* window_server() const { return window_server_; }
+ // Calls WindowTreeClient::OnEmbed.
+ void DoOnEmbed(mojom::WindowTreePtr tree, ServerWindow* root);
+
// Called from ~WindowServer. Reset WindowTreeClient so that it no longer gets
// 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);

Powered by Google App Engine
This is Rietveld 408576698