| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 // the BrowserPluginMsg_Close message. | 323 // the BrowserPluginMsg_Close message. |
| 324 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_Close, | 324 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_Close, |
| 325 int /* instance_id */) | 325 int /* instance_id */) |
| 326 | 326 |
| 327 // Once the swapped out guest RenderView has been created in the embedder render | 327 // Once the swapped out guest RenderView has been created in the embedder render |
| 328 // process, the browser process informs the embedder of its routing ID. | 328 // process, the browser process informs the embedder of its routing ID. |
| 329 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady, | 329 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady, |
| 330 int /* instance_id */, | 330 int /* instance_id */, |
| 331 int /* source_routing_id */) | 331 int /* source_routing_id */) |
| 332 | 332 |
| 333 // After the load handler of the guest's main frame is called, the browser | |
| 334 // process informs the embedder through the BrowserPluginMsg_LoadHandlerCalled | |
| 335 // message. | |
| 336 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_LoadHandlerCalled, | |
| 337 int /* instance_id */) | |
| 338 | |
| 339 // When the guest begins to load a page, the browser process informs the | 333 // When the guest begins to load a page, the browser process informs the |
| 340 // embedder through the BrowserPluginMsg_LoadStart message. | 334 // embedder through the BrowserPluginMsg_LoadStart message. |
| 341 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, | 335 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, |
| 342 int /* instance_id */, | 336 int /* instance_id */, |
| 343 GURL /* url */, | 337 GURL /* url */, |
| 344 bool /* is_top_level */) | 338 bool /* is_top_level */) |
| 345 | 339 |
| 346 // If the guest fails to commit a page load then it will inform the | 340 // If the guest fails to commit a page load then it will inform the |
| 347 // embedder through the BrowserPluginMsg_LoadAbort. A description | 341 // embedder through the BrowserPluginMsg_LoadAbort. A description |
| 348 // of the error will be stored in |type|. The list of known error | 342 // of the error will be stored in |type|. The list of known error |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 // request to the embeddder through this message. | 437 // request to the embeddder through this message. |
| 444 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, | 438 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, |
| 445 int /* instance_id */, | 439 int /* instance_id */, |
| 446 BrowserPluginPermissionType /* permission_type */, | 440 BrowserPluginPermissionType /* permission_type */, |
| 447 int /* request_id */, | 441 int /* request_id */, |
| 448 base::DictionaryValue /* request_info */) | 442 base::DictionaryValue /* request_info */) |
| 449 | 443 |
| 450 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 444 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
| 451 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) | 445 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) |
| 452 | 446 |
| OLD | NEW |