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 ui.mojom; | 5 module ui.mojom; |
6 | 6 |
7 import "ui/display/mojo/display.mojom"; | 7 import "ui/display/mojo/display.mojom"; |
8 import "ui/gfx/geometry/mojo/geometry.mojom"; | 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
9 | 9 |
10 enum WindowManagerErrorCode { | 10 enum WindowManagerErrorCode { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 PANEL, | 58 PANEL, |
59 WINDOW_FRAMELESS, | 59 WINDOW_FRAMELESS, |
60 CONTROL, | 60 CONTROL, |
61 POPUP, | 61 POPUP, |
62 MENU, | 62 MENU, |
63 TOOLTIP, | 63 TOOLTIP, |
64 BUBBLE, | 64 BUBBLE, |
65 DRAG, | 65 DRAG, |
66 UNKNOWN, | 66 UNKNOWN, |
67 }; | 67 }; |
| 68 |
| 69 // Used when the window manager explicitly adds a new display. |
| 70 struct WmViewportMetrics { |
| 71 gfx.mojom.Rect bounds_in_pixels; |
| 72 float device_scale_factor; |
| 73 float ui_scale_factor; |
| 74 }; |
OLD | NEW |