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

Side by Side Diff: third_party/WebKit/public/web/window_features.mojom

Issue 2905283003: Remove a bunch of dead code around WindowFeatures (Closed)
Patch Set: Use WebWindowFeatures everywhere Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698