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

Unified Diff: third_party/WebKit/public/web/window_features.mojom

Issue 2363573002: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
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.
+};
« no previous file with comments | « third_party/WebKit/public/web/WindowFeaturesStructTraits.cpp ('k') | third_party/WebKit/public/web/window_features.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698