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

Unified Diff: components/mus/public/interfaces/window_manager_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_factory.mojom
diff --git a/components/mus/public/interfaces/window_manager_factory.mojom b/components/mus/public/interfaces/window_manager_factory.mojom
deleted file mode 100644
index 718d7c8119538f6459c0f2f4e2f9174a43262332..0000000000000000000000000000000000000000
--- a/components/mus/public/interfaces/window_manager_factory.mojom
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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";
-
-// Used to register the WindowManagerFactory that is used as displays are
-// added.
-// NOTE: The WindowManagerFactoryService can only be obtained once, further
-// SetWindowManagerFactory() can only be called once as well.
-interface WindowManagerFactoryService {
- SetWindowManagerFactory(WindowManagerFactory factory);
-};
-
-// When a new display is detected WindowManagerFactory is used to bind the
-// root window of the display to a WindowTreeClient, and then obtain a
-// WindowManager from the WindowTreeClient.
-interface WindowManagerFactory {
- CreateWindowManager(Display display, WindowTreeClient& client);
-};

Powered by Google App Engine
This is Rietveld 408576698