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

Side by Side Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 13032003: Browser Plugin: <webview> should inherit partition attribute of opener on attachment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nit Created 7 years, 8 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 IPC_STRUCT_MEMBER(bool, persist_storage) 65 IPC_STRUCT_MEMBER(bool, persist_storage)
66 IPC_STRUCT_MEMBER(bool, focused) 66 IPC_STRUCT_MEMBER(bool, focused)
67 IPC_STRUCT_MEMBER(bool, visible) 67 IPC_STRUCT_MEMBER(bool, visible)
68 IPC_STRUCT_MEMBER(std::string, name) 68 IPC_STRUCT_MEMBER(std::string, name)
69 IPC_STRUCT_MEMBER(std::string, src) 69 IPC_STRUCT_MEMBER(std::string, src)
70 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_AutoSize_Params, auto_size_params) 70 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_AutoSize_Params, auto_size_params)
71 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_ResizeGuest_Params, 71 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_ResizeGuest_Params,
72 resize_guest_params) 72 resize_guest_params)
73 IPC_STRUCT_END() 73 IPC_STRUCT_END()
74 74
75 IPC_STRUCT_BEGIN(BrowserPluginMsg_Attach_ACK_Params)
76 IPC_STRUCT_MEMBER(std::string, storage_partition_id)
77 IPC_STRUCT_MEMBER(bool, persist_storage)
78 IPC_STRUCT_MEMBER(std::string, name)
79 IPC_STRUCT_END()
80
75 IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params) 81 IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params)
76 // The current URL of the guest. 82 // The current URL of the guest.
77 IPC_STRUCT_MEMBER(GURL, url) 83 IPC_STRUCT_MEMBER(GURL, url)
78 // Indicates whether the navigation was on the top-level frame. 84 // Indicates whether the navigation was on the top-level frame.
79 IPC_STRUCT_MEMBER(bool, is_top_level) 85 IPC_STRUCT_MEMBER(bool, is_top_level)
80 // The browser's process ID for the guest. 86 // The browser's process ID for the guest.
81 IPC_STRUCT_MEMBER(int, process_id) 87 IPC_STRUCT_MEMBER(int, process_id)
82 // The browser's routing ID for the guest's RenderView. 88 // The browser's routing ID for the guest's RenderView.
83 IPC_STRUCT_MEMBER(int, route_id) 89 IPC_STRUCT_MEMBER(int, route_id)
84 // The index of the current navigation entry after this navigation was 90 // The index of the current navigation entry after this navigation was
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // ----------------------------------------------------------------------------- 298 // -----------------------------------------------------------------------------
293 // These messages are from the browser process to the embedder. 299 // These messages are from the browser process to the embedder.
294 300
295 // This message is sent from the browser process to the embedder render process 301 // This message is sent from the browser process to the embedder render process
296 // in response to a request to allocate an instance ID. The |request_id| is used 302 // in response to a request to allocate an instance ID. The |request_id| is used
297 // to route the response to the requestor. 303 // to route the response to the requestor.
298 IPC_MESSAGE_ROUTED2(BrowserPluginMsg_AllocateInstanceID_ACK, 304 IPC_MESSAGE_ROUTED2(BrowserPluginMsg_AllocateInstanceID_ACK,
299 int /* request_id */, 305 int /* request_id */,
300 int /* instance_id */) 306 int /* instance_id */)
301 307
308
309 // This message is sent in response to a completed attachment of a guest
310 // to a BrowserPlugin. This message carries information about the guest
311 // that is used to update the attributes of the browser plugin.
312 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_Attach_ACK,
313 int /* instance_id */,
314 BrowserPluginMsg_Attach_ACK_Params /* params */)
315
302 // Once the swapped out guest RenderView has been created in the embedder render 316 // Once the swapped out guest RenderView has been created in the embedder render
303 // process, the browser process informs the embedder of its routing ID. 317 // process, the browser process informs the embedder of its routing ID.
304 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady, 318 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady,
305 int /* instance_id */, 319 int /* instance_id */,
306 int /* source_routing_id */) 320 int /* source_routing_id */)
307 321
308 // When the guest begins to load a page, the browser process informs the 322 // When the guest begins to load a page, the browser process informs the
309 // embedder through the BrowserPluginMsg_LoadStart message. 323 // embedder through the BrowserPluginMsg_LoadStart message.
310 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, 324 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart,
311 int /* instance_id */, 325 int /* instance_id */,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 // request to the embeddder through this message. 431 // request to the embeddder through this message.
418 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, 432 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission,
419 int /* instance_id */, 433 int /* instance_id */,
420 BrowserPluginPermissionType /* permission_type */, 434 BrowserPluginPermissionType /* permission_type */,
421 int /* request_id */, 435 int /* request_id */,
422 DictionaryValue /* request_info */) 436 DictionaryValue /* request_info */)
423 437
424 // Forwards a PointerLock Unlock request to the BrowserPlugin. 438 // Forwards a PointerLock Unlock request to the BrowserPlugin.
425 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) 439 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */)
426 440
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698