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

Side by Side Diff: services/ui/public/interfaces/window_manager_window_tree_factory.mojom

Issue 2804403002: Adds ability for WindowManager to create display roots (Closed)
Patch Set: cleanup Created 3 years, 8 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
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/ws/display.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module ui.mojom; 5 module ui.mojom;
6 6
7 import "services/ui/public/interfaces/window_manager_constants.mojom"; 7 import "services/ui/public/interfaces/window_manager_constants.mojom";
8 import "services/ui/public/interfaces/window_tree.mojom"; 8 import "services/ui/public/interfaces/window_tree.mojom";
9 9
10 // Interface used by the WindowManager to obtain a WindowTree. The 10 // Interface used by the WindowManager to obtain a WindowTree. Server may be
11 // WindowManager is informed of the roots (one per display) by way of 11 // configured in two distinct modes by way of the
12 // WmNewDisplayAdded(). See it for details. 12 // |automatically_create_display_roots| parameter:
13 // . If true, then mus creates windows for displays as displays are added and
14 // calls WmNewDisplayAdded() (see it for more details).
15 // . If false, the client is responsible for creating and setting windows for
16 // displays (via SetDisplayRoot()). In this mode it is assumed the client is
17 // detecting displays via another mechanism.
13 interface WindowManagerWindowTreeFactory { 18 interface WindowManagerWindowTreeFactory {
14 // NOTE: it is expected this is called only once. 19 // NOTE: it is expected this is called only once.
15 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); 20 CreateWindowTree(WindowTree& tree_request,
21 WindowTreeClient client,
22 bool automatically_create_display_roots);
16 }; 23 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/ws/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698