| OLD | NEW |
| 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 Loading... |
| 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 }; |
| OLD | NEW |