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

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

Issue 1644773004: Renames some WindowManager classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 10 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_manager_constants.mojom"; 7 import "components/mus/public/interfaces/window_manager_constants.mojom";
8 import "components/mus/public/interfaces/window_tree.mojom"; 8 import "components/mus/public/interfaces/window_tree.mojom";
9 import "ui/mojo/geometry/geometry.mojom"; 9 import "ui/mojo/geometry/geometry.mojom";
10 10
11 // Represents a core interface that should be implemented by any window manager 11 // Represents a core interface that should be implemented by any window manager
12 // built on top of Mus. 12 // built on top of Mus.
13 interface WindowManager { 13 interface WindowManagerDeprecated {
14 // The window's preferred size as defined by its content. Type: gfx::Size.
15 const string kPreferredSize_Property = "prop:preferred-size";
16 // The window's resize behavior. Type: ResizeBehavior.
17 const string kResizeBehavior_Property = "prop:resize-behavior";
18 // Bounds the window is restored to. Type: gfx::Rect.
19 const string kRestoreBounds_Property = "prop:restore-bounds";
20 // Shadow style for the window. Type: mojom::ShadowStyle.
21 const string kShadowStyle_Property = "prop:shadow-style";
22 // The window's show state. Type: ShowState.
23 const string kShowState_Property = "prop:show-state";
24 // The window bounds as set by user input. Type: gfx::Rect.
25 const string kUserSetBounds_Property = "prop:user-set-bounds";
26 const string kWindowType_Property = "prop:window-type";
27 // The window's title. Type: mojom::String
28 const string kWindowTitle_Property = "prop:window-title";
29
30 OpenWindow(WindowTreeClient client, map<string, array<uint8>> properties); 14 OpenWindow(WindowTreeClient client, map<string, array<uint8>> properties);
31 }; 15 };
OLDNEW
« no previous file with comments | « components/mus/public/cpp/window_tree_host_factory.h ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698