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

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

Issue 1954933002: Initial cut of ash/wm/common classes for mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk 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
« no previous file with comments | « no previous file | mash/wm/BUILD.gn » ('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 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 "ui/mojo/geometry/geometry.mojom"; 7 import "ui/mojo/geometry/geometry.mojom";
8 8
9 enum WindowManagerErrorCode { 9 enum WindowManagerErrorCode {
10 SUCCESS, 10 SUCCESS,
11 ACCESS_DENIED 11 ACCESS_DENIED
12 }; 12 };
13 13
14 // TODO(sky): seems like this should not be defined in mus, rather in mash.
15 // Only thing mus cares about is minimized and that should be expressed
16 // differently.
14 enum ShowState { 17 enum ShowState {
15 RESTORED, 18 DEFAULT,
19 NORMAL,
16 MINIMIZED, 20 MINIMIZED,
17 MAXIMIZED, 21 MAXIMIZED,
18 IMMERSIVE, 22 INACTIVE,
19 PRESENTATION 23 FULLSCREEN,
24 DOCKED,
20 }; 25 };
21 26
22 enum Rotation { 27 enum Rotation {
23 VALUE_0, 28 VALUE_0,
24 VALUE_90, 29 VALUE_90,
25 VALUE_180, 30 VALUE_180,
26 VALUE_270, 31 VALUE_270,
27 }; 32 };
28 33
29 const int32 kResizeBehaviorNone = 0; 34 const int32 kResizeBehaviorNone = 0;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 WINDOW, 69 WINDOW,
65 PANEL, 70 PANEL,
66 WINDOW_FRAMELESS, 71 WINDOW_FRAMELESS,
67 CONTROL, 72 CONTROL,
68 POPUP, 73 POPUP,
69 MENU, 74 MENU,
70 TOOLTIP, 75 TOOLTIP,
71 BUBBLE, 76 BUBBLE,
72 DRAG, 77 DRAG,
73 }; 78 };
OLDNEW
« no previous file with comments | « no previous file | mash/wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698