OLD | NEW |
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 mus.mojom; | 5 module mus.mojom; |
6 | 6 |
7 import "components/mus/public/interfaces/window_manager_constants.mojom"; | 7 import "services/ui/public/interfaces/window_manager_constants.mojom"; |
8 import "components/mus/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. The |
11 // WindowManager is informed of the roots (one per display) by way of | 11 // WindowManager is informed of the roots (one per display) by way of |
12 // WmNewDisplayAdded(). See it for details. | 12 // WmNewDisplayAdded(). See it for details. |
13 interface WindowManagerWindowTreeFactory { | 13 interface WindowManagerWindowTreeFactory { |
14 // NOTE: it is expected this is called only once. | 14 // NOTE: it is expected this is called only once. |
15 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); | 15 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); |
16 }; | 16 }; |
OLD | NEW |