Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 IPC_STRUCT_MEMBER(bool, persist_storage) | 63 IPC_STRUCT_MEMBER(bool, persist_storage) |
| 64 IPC_STRUCT_MEMBER(bool, focused) | 64 IPC_STRUCT_MEMBER(bool, focused) |
| 65 IPC_STRUCT_MEMBER(bool, visible) | 65 IPC_STRUCT_MEMBER(bool, visible) |
| 66 IPC_STRUCT_MEMBER(std::string, name) | 66 IPC_STRUCT_MEMBER(std::string, name) |
| 67 IPC_STRUCT_MEMBER(std::string, src) | 67 IPC_STRUCT_MEMBER(std::string, src) |
| 68 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_AutoSize_Params, auto_size_params) | 68 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_AutoSize_Params, auto_size_params) |
| 69 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_ResizeGuest_Params, | 69 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_ResizeGuest_Params, |
| 70 resize_guest_params) | 70 resize_guest_params) |
| 71 IPC_STRUCT_END() | 71 IPC_STRUCT_END() |
| 72 | 72 |
| 73 IPC_STRUCT_BEGIN(BrowserPluginMsg_Attach_ACK_Params) | |
| 74 IPC_STRUCT_MEMBER(std::string, storage_partition_id) | |
| 75 IPC_STRUCT_MEMBER(bool, persist_storage) | |
| 76 IPC_STRUCT_MEMBER(std::string, name) | |
| 77 IPC_STRUCT_END() | |
| 78 | |
| 73 IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params) | 79 IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params) |
| 74 // The current URL of the guest. | 80 // The current URL of the guest. |
| 75 IPC_STRUCT_MEMBER(GURL, url) | 81 IPC_STRUCT_MEMBER(GURL, url) |
| 76 // Indicates whether the navigation was on the top-level frame. | 82 // Indicates whether the navigation was on the top-level frame. |
| 77 IPC_STRUCT_MEMBER(bool, is_top_level) | 83 IPC_STRUCT_MEMBER(bool, is_top_level) |
| 78 // The browser's process ID for the guest. | 84 // The browser's process ID for the guest. |
| 79 IPC_STRUCT_MEMBER(int, process_id) | 85 IPC_STRUCT_MEMBER(int, process_id) |
| 80 // The browser's routing ID for the guest's RenderView. | 86 // The browser's routing ID for the guest's RenderView. |
| 81 IPC_STRUCT_MEMBER(int, route_id) | 87 IPC_STRUCT_MEMBER(int, route_id) |
| 82 // The index of the current navigation entry after this navigation was | 88 // The index of the current navigation entry after this navigation was |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 283 // ----------------------------------------------------------------------------- | 289 // ----------------------------------------------------------------------------- |
| 284 // These messages are from the browser process to the embedder. | 290 // These messages are from the browser process to the embedder. |
| 285 | 291 |
| 286 // This message is sent from the browser process to the embedder render process | 292 // This message is sent from the browser process to the embedder render process |
| 287 // in response to a request to allocate an instance ID. The |request_id| is used | 293 // in response to a request to allocate an instance ID. The |request_id| is used |
| 288 // to route the response to the requestor. | 294 // to route the response to the requestor. |
| 289 IPC_MESSAGE_ROUTED2(BrowserPluginMsg_AllocateInstanceID_ACK, | 295 IPC_MESSAGE_ROUTED2(BrowserPluginMsg_AllocateInstanceID_ACK, |
| 290 int /* request_id */, | 296 int /* request_id */, |
| 291 int /* instance_id */) | 297 int /* instance_id */) |
| 292 | 298 |
| 299 | |
| 300 // This message is sent in response to a completed attachment of a guest | |
| 301 // to a BrowserPlugin. This message carries information about the guest | |
| 302 // that is used to update the attributes of the browser plugin. | |
| 303 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_Attach_ACK, | |
| 304 int /* instance_id */, | |
| 305 BrowserPluginMsg_Attach_ACK_Params /* params */) | |
| 306 | |
| 307 | |
|
lazyboy
2013/03/25 18:12:55
nit: Remove extra newline.
Fady Samuel
2013/03/25 19:28:20
Done.
| |
| 293 // Once the swapped out guest RenderView has been created in the embedder render | 308 // Once the swapped out guest RenderView has been created in the embedder render |
| 294 // process, the browser process informs the embedder of its routing ID. | 309 // process, the browser process informs the embedder of its routing ID. |
| 295 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady, | 310 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady, |
| 296 int /* instance_id */, | 311 int /* instance_id */, |
| 297 int /* source_routing_id */) | 312 int /* source_routing_id */) |
| 298 | 313 |
| 299 // When the guest begins to load a page, the browser process informs the | 314 // When the guest begins to load a page, the browser process informs the |
| 300 // embedder through the BrowserPluginMsg_LoadStart message. | 315 // embedder through the BrowserPluginMsg_LoadStart message. |
| 301 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, | 316 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, |
| 302 int /* instance_id */, | 317 int /* instance_id */, |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 402 // request to the embeddder through this message. | 417 // request to the embeddder through this message. |
| 403 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, | 418 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, |
| 404 int /* instance_id */, | 419 int /* instance_id */, |
| 405 BrowserPluginPermissionType /* permission_type */, | 420 BrowserPluginPermissionType /* permission_type */, |
| 406 int /* request_id */, | 421 int /* request_id */, |
| 407 DictionaryValue /* request_info */) | 422 DictionaryValue /* request_info */) |
| 408 | 423 |
| 409 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 424 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
| 410 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) | 425 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) |
| 411 | 426 |
| OLD | NEW |