| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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_tree.mojom"; | |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; | |
| 9 | |
| 10 // WindowTreeHost encapsulates a unique underlying platform window, with a tree | |
| 11 // of windows. | |
| 12 interface WindowTreeHost { | |
| 13 // Sets the size of the platform window. | |
| 14 SetSize(gfx.mojom.Size size); | |
| 15 | |
| 16 // Sets a title string to be displayed on the platform window. | |
| 17 SetTitle(string title); | |
| 18 }; | |
| 19 | |
| 20 interface WindowTreeHostFactory { | |
| 21 // Creates a new WindowTreeHost. |tree_client| is queried for the | |
| 22 // WindowManager. | |
| 23 CreateWindowTreeHost(WindowTreeHost& window_tree_host, | |
| 24 WindowTreeClient tree_client); | |
| 25 }; | |
| OLD | NEW |