OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 blink.mojom; | 5 module blink.mojom; |
6 | 6 |
7 struct WindowFeatures { | 7 struct WindowFeatures { |
8 float x; | 8 float x; |
9 bool has_x = false; | 9 bool has_x = false; |
10 | 10 |
11 float y; | 11 float y; |
12 bool has_y = false; | 12 bool has_y = false; |
13 | 13 |
14 float width; | 14 float width; |
15 bool has_width = false; | 15 bool has_width = false; |
16 | 16 |
17 float height; | 17 float height; |
18 bool has_height = false; | 18 bool has_height = false; |
19 | 19 |
20 bool menu_bar_visible = true; | 20 bool menu_bar_visible = true; |
21 bool status_bar_visible = true; | 21 bool status_bar_visible = true; |
22 bool tool_bar_visible = true; | 22 bool tool_bar_visible = true; |
23 bool location_bar_visible = true; | |
24 bool scrollbars_visible = true; | 23 bool scrollbars_visible = true; |
25 bool resizable = true; | |
26 | |
27 bool fullscreen = false; | |
28 bool dialog = false; | |
29 | |
30 // NOTE: WebWindowFeatures::additionalFeatures is not mirrored by this | |
31 // mojom struct as it's never used by the browser and therefore doesn't need | |
32 // to be sent. | |
33 }; | 24 }; |
OLD | NEW |