| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 extensions. | 5 // IPC messages for extensions. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 // the sequential nature of IPCs so that the blob has already been caught. | 509 // the sequential nature of IPCs so that the blob has already been caught. |
| 510 // This is a separate control message, so that the renderer process will send | 510 // This is a separate control message, so that the renderer process will send |
| 511 // an acknowledgement even if the RenderView has closed or navigated away. | 511 // an acknowledgement even if the RenderView has closed or navigated away. |
| 512 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, | 512 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, |
| 513 std::vector<std::string> /* blob_uuids */) | 513 std::vector<std::string> /* blob_uuids */) |
| 514 | 514 |
| 515 // The ACK for ExtensionHostMsg_CreateMimeHandlerViewGuest. | 515 // The ACK for ExtensionHostMsg_CreateMimeHandlerViewGuest. |
| 516 IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK, | 516 IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK, |
| 517 int /* element_instance_id */) | 517 int /* element_instance_id */) |
| 518 | 518 |
| 519 // Once a RenderView proxy has been created for the guest in the embedder render |
| 520 // process, this IPC informs the embedder of the proxy's routing ID. |
| 521 IPC_MESSAGE_ROUTED2(ExtensionMsg_GuestAttached, |
| 522 int /* element_instance_id */, |
| 523 int /* source_routing_id */) |
| 524 |
| 519 // Messages sent from the renderer to the browser. | 525 // Messages sent from the renderer to the browser. |
| 520 | 526 |
| 521 // A renderer sends this message when an extension process starts an API | 527 // A renderer sends this message when an extension process starts an API |
| 522 // request. The browser will always respond with a ExtensionMsg_Response. | 528 // request. The browser will always respond with a ExtensionMsg_Response. |
| 523 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, | 529 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, |
| 524 ExtensionHostMsg_Request_Params) | 530 ExtensionHostMsg_Request_Params) |
| 525 | 531 |
| 526 // A renderer sends this message when an extension process starts an API | 532 // A renderer sends this message when an extension process starts an API |
| 527 // request. The browser will always respond with a ExtensionMsg_Response. | 533 // request. The browser will always respond with a ExtensionMsg_Response. |
| 528 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, | 534 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 int /* element_instance_id */, | 743 int /* element_instance_id */, |
| 738 int /* guest_instance_id */, | 744 int /* guest_instance_id */, |
| 739 base::DictionaryValue /* attach_params */) | 745 base::DictionaryValue /* attach_params */) |
| 740 | 746 |
| 741 // Tells the browser to create a mime handler guest view for a plugin. | 747 // Tells the browser to create a mime handler guest view for a plugin. |
| 742 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_CreateMimeHandlerViewGuest, | 748 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_CreateMimeHandlerViewGuest, |
| 743 int /* render_frame_id */, | 749 int /* render_frame_id */, |
| 744 std::string /* embedder_url */, | 750 std::string /* embedder_url */, |
| 745 std::string /* mime_type */, | 751 std::string /* mime_type */, |
| 746 int /* element_instance_id */) | 752 int /* element_instance_id */) |
| OLD | NEW |