Index: third_party/WebKit/public/web/window_features.mojom |
diff --git a/third_party/WebKit/public/web/window_features.mojom b/third_party/WebKit/public/web/window_features.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a26b8a3b44316369ba0e3f21a5326ecb62dd5b1c |
--- /dev/null |
+++ b/third_party/WebKit/public/web/window_features.mojom |
@@ -0,0 +1,33 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module blink.mojom; |
+ |
+struct WindowFeatures { |
+ float x; |
+ bool has_x = false; |
+ |
+ float y; |
+ bool has_y = false; |
+ |
+ float width; |
+ bool has_width = false; |
+ |
+ float height; |
+ bool has_height = false; |
+ |
+ bool menu_bar_visible = true; |
+ bool status_bar_visible = true; |
+ bool tool_bar_visible = true; |
+ bool location_bar_visible = true; |
+ bool scrollbars_visible = true; |
+ bool resizable = true; |
+ |
+ bool fullscreen = false; |
+ bool dialog = false; |
+ |
+ // NOTE: WebWindowFeatures::additionalFeatures is not mirrored by this |
+ // mojom struct as it's never used by the browser and therefore doesn't need |
+ // to be sent. |
+}; |