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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module mus.mojom;
6
7 import "components/mus/public/interfaces/window_manager_constants.mojom";
8 import "components/mus/public/interfaces/window_tree.mojom";
9
10 // Used to register the WindowManagerFactory that is used as displays are
11 // added.
12 // NOTE: The WindowManagerFactoryService can only be obtained once, further
13 // SetWindowManagerFactory() can only be called once as well.
14 interface WindowManagerFactoryService {
15 SetWindowManagerFactory(WindowManagerFactory factory);
16 };
17
18 // When a new display is detected WindowManagerFactory is used to bind the
19 // root window of the display to a WindowTreeClient, and then obtain a
20 // WindowManager from the WindowTreeClient.
21 interface WindowManagerFactory {
22 CreateWindowManager(Display display, WindowTreeClient& client);
23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698