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

Side by Side Diff: components/mus/public/interfaces/window_tree_host.mojom

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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_tree.mojom"; 7 import "components/mus/public/interfaces/window_tree.mojom";
8 import "ui/mojo/geometry/geometry.mojom"; 8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 9
10 // WindowTreeHost encapsulates a unique underlying platform window, with a tree 10 // WindowTreeHost encapsulates a unique underlying platform window, with a tree
11 // of windows. 11 // of windows.
12 interface WindowTreeHost { 12 interface WindowTreeHost {
13 // Sets the size of the platform window. 13 // Sets the size of the platform window.
14 SetSize(mojo.Size size); 14 SetSize(mojo.Size size);
15 15
16 // Sets a title string to be displayed on the platform window. 16 // Sets a title string to be displayed on the platform window.
17 SetTitle(string title); 17 SetTitle(string title);
18 }; 18 };
19 19
20 interface WindowTreeHostFactory { 20 interface WindowTreeHostFactory {
21 // Creates a new WindowTreeHost. |tree_client| is queried for the 21 // Creates a new WindowTreeHost. |tree_client| is queried for the
22 // WindowManager. 22 // WindowManager.
23 CreateWindowTreeHost(WindowTreeHost& window_tree_host, 23 CreateWindowTreeHost(WindowTreeHost& window_tree_host,
24 WindowTreeClient tree_client); 24 WindowTreeClient tree_client);
25 }; 25 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698