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

Unified Diff: components/mus/public/interfaces/window_manager_window_tree_factory.mojom

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 years, 6 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: components/mus/public/interfaces/window_manager_window_tree_factory.mojom
diff --git a/components/mus/public/interfaces/window_manager_window_tree_factory.mojom b/components/mus/public/interfaces/window_manager_window_tree_factory.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..7e875f4cf7b66f377d5ba4f3c3df762cdb229ad2
--- /dev/null
+++ b/components/mus/public/interfaces/window_manager_window_tree_factory.mojom
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module mus.mojom;
+
+import "components/mus/public/interfaces/window_manager_constants.mojom";
+import "components/mus/public/interfaces/window_tree.mojom";
+
+// Interface used by the WindowManager to obtain a WindowTree. The
+// WindowManager is informed of the roots (one per display) by way of
+// WmNewDisplayAdded(). See it for details.
+interface WindowManagerWindowTreeFactory {
+ // NOTE: it is expected this is called only once.
+ CreateWindowTree(WindowTree& tree_request, WindowTreeClient client);
+};
« no previous file with comments | « components/mus/public/interfaces/window_manager_factory.mojom ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698