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

Unified Diff: content/common/view_messages.h

Issue 15994016: Support custom window features, such as 'moo=foo'. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/common/view_messages.h
===================================================================
--- content/common/view_messages.h (revision 198276)
+++ content/common/view_messages.h (working copy)
@@ -137,6 +137,27 @@
IPC_STRUCT_TRAITS_MEMBER(availableRect)
IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(WebKit::WindowFeatures)
+ IPC_STRUCT_TRAITS_MEMBER(dialog)
+ IPC_STRUCT_TRAITS_MEMBER(fullscreen)
+ IPC_STRUCT_TRAITS_MEMBER(height)
+ IPC_STRUCT_TRAITS_MEMBER(height_set)
+ IPC_STRUCT_TRAITS_MEMBER(locationbar_visible)
+ IPC_STRUCT_TRAITS_MEMBER(menubar_visible)
+ IPC_STRUCT_TRAITS_MEMBER(resizable)
+ IPC_STRUCT_TRAITS_MEMBER(scrollbars_visible)
+ IPC_STRUCT_TRAITS_MEMBER(statusbar_visible)
+ IPC_STRUCT_TRAITS_MEMBER(toolbar_visible)
+ IPC_STRUCT_TRAITS_MEMBER(width)
+ IPC_STRUCT_TRAITS_MEMBER(width_set)
+ IPC_STRUCT_TRAITS_MEMBER(x)
+ IPC_STRUCT_TRAITS_MEMBER(x_set)
+ IPC_STRUCT_TRAITS_MEMBER(y)
+ IPC_STRUCT_TRAITS_MEMBER(y_set)
+ IPC_STRUCT_TRAITS_MEMBER(additional_features)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(WebMenuItem)
IPC_STRUCT_TRAITS_MEMBER(label)
IPC_STRUCT_TRAITS_MEMBER(toolTip)
@@ -326,8 +347,11 @@
IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
// The URL that will be loaded in the new window (empty if none has been
- // sepcified).
+ // specified).
IPC_STRUCT_MEMBER(GURL, target_url)
+
+ // Special features of the new window
+ IPC_STRUCT_MEMBER(WebKit::WindowFeatures, window_features)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)

Powered by Google App Engine
This is Rietveld 408576698