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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) 131 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo)
132 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) 132 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor)
133 IPC_STRUCT_TRAITS_MEMBER(depth) 133 IPC_STRUCT_TRAITS_MEMBER(depth)
134 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) 134 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent)
135 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) 135 IPC_STRUCT_TRAITS_MEMBER(isMonochrome)
136 IPC_STRUCT_TRAITS_MEMBER(rect) 136 IPC_STRUCT_TRAITS_MEMBER(rect)
137 IPC_STRUCT_TRAITS_MEMBER(availableRect) 137 IPC_STRUCT_TRAITS_MEMBER(availableRect)
138 IPC_STRUCT_TRAITS_END() 138 IPC_STRUCT_TRAITS_END()
139 139
140
141 IPC_STRUCT_TRAITS_BEGIN(WebKit::WindowFeatures)
142 IPC_STRUCT_TRAITS_MEMBER(dialog)
143 IPC_STRUCT_TRAITS_MEMBER(fullscreen)
144 IPC_STRUCT_TRAITS_MEMBER(height)
145 IPC_STRUCT_TRAITS_MEMBER(height_set)
146 IPC_STRUCT_TRAITS_MEMBER(locationbar_visible)
147 IPC_STRUCT_TRAITS_MEMBER(menubar_visible)
148 IPC_STRUCT_TRAITS_MEMBER(resizable)
149 IPC_STRUCT_TRAITS_MEMBER(scrollbars_visible)
150 IPC_STRUCT_TRAITS_MEMBER(statusbar_visible)
151 IPC_STRUCT_TRAITS_MEMBER(toolbar_visible)
152 IPC_STRUCT_TRAITS_MEMBER(width)
153 IPC_STRUCT_TRAITS_MEMBER(width_set)
154 IPC_STRUCT_TRAITS_MEMBER(x)
155 IPC_STRUCT_TRAITS_MEMBER(x_set)
156 IPC_STRUCT_TRAITS_MEMBER(y)
157 IPC_STRUCT_TRAITS_MEMBER(y_set)
158 IPC_STRUCT_TRAITS_MEMBER(additional_features)
159 IPC_STRUCT_TRAITS_END()
160
140 IPC_STRUCT_TRAITS_BEGIN(WebMenuItem) 161 IPC_STRUCT_TRAITS_BEGIN(WebMenuItem)
141 IPC_STRUCT_TRAITS_MEMBER(label) 162 IPC_STRUCT_TRAITS_MEMBER(label)
142 IPC_STRUCT_TRAITS_MEMBER(toolTip) 163 IPC_STRUCT_TRAITS_MEMBER(toolTip)
143 IPC_STRUCT_TRAITS_MEMBER(type) 164 IPC_STRUCT_TRAITS_MEMBER(type)
144 IPC_STRUCT_TRAITS_MEMBER(action) 165 IPC_STRUCT_TRAITS_MEMBER(action)
145 IPC_STRUCT_TRAITS_MEMBER(rtl) 166 IPC_STRUCT_TRAITS_MEMBER(rtl)
146 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) 167 IPC_STRUCT_TRAITS_MEMBER(has_directional_override)
147 IPC_STRUCT_TRAITS_MEMBER(enabled) 168 IPC_STRUCT_TRAITS_MEMBER(enabled)
148 IPC_STRUCT_TRAITS_MEMBER(checked) 169 IPC_STRUCT_TRAITS_MEMBER(checked)
149 IPC_STRUCT_TRAITS_MEMBER(submenu) 170 IPC_STRUCT_TRAITS_MEMBER(submenu)
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 IPC_STRUCT_MEMBER(GURL, opener_security_origin) 340 IPC_STRUCT_MEMBER(GURL, opener_security_origin)
320 341
321 // Whether the opener will be suppressed in the new window, in which case 342 // Whether the opener will be suppressed in the new window, in which case
322 // scripting the new window is not allowed. 343 // scripting the new window is not allowed.
323 IPC_STRUCT_MEMBER(bool, opener_suppressed) 344 IPC_STRUCT_MEMBER(bool, opener_suppressed)
324 345
325 // Whether the window should be opened in the foreground, background, etc. 346 // Whether the window should be opened in the foreground, background, etc.
326 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 347 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
327 348
328 // The URL that will be loaded in the new window (empty if none has been 349 // The URL that will be loaded in the new window (empty if none has been
329 // sepcified). 350 // specified).
330 IPC_STRUCT_MEMBER(GURL, target_url) 351 IPC_STRUCT_MEMBER(GURL, target_url)
352
353 // Special features of the new window
354 IPC_STRUCT_MEMBER(WebKit::WindowFeatures, window_features)
331 IPC_STRUCT_END() 355 IPC_STRUCT_END()
332 356
333 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) 357 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)
334 // URL for the worker script. 358 // URL for the worker script.
335 IPC_STRUCT_MEMBER(GURL, url) 359 IPC_STRUCT_MEMBER(GURL, url)
336 360
337 // Name for a SharedWorker, otherwise empty string. 361 // Name for a SharedWorker, otherwise empty string.
338 IPC_STRUCT_MEMBER(string16, name) 362 IPC_STRUCT_MEMBER(string16, name)
339 363
340 // The ID of the parent document (unique within parent renderer). 364 // The ID of the parent document (unique within parent renderer).
(...skipping 1936 matching lines...) Expand 10 before | Expand all | Expand 10 after
2277 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2301 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2278 // for details. 2302 // for details.
2279 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2303 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2280 LOGFONT /* font_data */, 2304 LOGFONT /* font_data */,
2281 string16 /* characters */) 2305 string16 /* characters */)
2282 #endif 2306 #endif
2283 2307
2284 // Adding a new message? Stick to the sort order above: first platform 2308 // Adding a new message? Stick to the sort order above: first platform
2285 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2309 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2286 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2310 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698