| 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 // an acknowledgement even if the RenderView has closed or navigated away. | 549 // an acknowledgement even if the RenderView has closed or navigated away. |
| 550 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, | 550 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, |
| 551 std::vector<std::string> /* blob_uuids */) | 551 std::vector<std::string> /* blob_uuids */) |
| 552 | 552 |
| 553 // The ACK for ExtensionHostMsg_CreateMimeHandlerViewGuest. | 553 // The ACK for ExtensionHostMsg_CreateMimeHandlerViewGuest. |
| 554 IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK, | 554 IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK, |
| 555 int /* element_instance_id */) | 555 int /* element_instance_id */) |
| 556 | 556 |
| 557 // Once a RenderView proxy has been created for the guest in the embedder render | 557 // Once a RenderView proxy has been created for the guest in the embedder render |
| 558 // process, this IPC informs the embedder of the proxy's routing ID. | 558 // process, this IPC informs the embedder of the proxy's routing ID. |
| 559 IPC_MESSAGE_ROUTED2(ExtensionMsg_GuestAttached, | 559 IPC_MESSAGE_CONTROL2(ExtensionMsg_GuestAttached, |
| 560 int /* element_instance_id */, | 560 int /* element_instance_id */, |
| 561 int /* source_routing_id */) | 561 int /* source_routing_id */) |
| 562 | 562 |
| 563 // This IPC tells the browser process to detach the provided | 563 // This IPC tells the browser process to detach the provided |
| 564 // |element_instance_id| from a GuestViewBase if it is attached to one. | 564 // |element_instance_id| from a GuestViewBase if it is attached to one. |
| 565 // In other words, routing of input and graphics will no longer flow through | 565 // In other words, routing of input and graphics will no longer flow through |
| 566 // the container associated with the provided ID. | 566 // the container associated with the provided ID. |
| 567 IPC_MESSAGE_ROUTED1(ExtensionMsg_GuestDetached, | 567 IPC_MESSAGE_CONTROL1(ExtensionMsg_GuestDetached, |
| 568 int /* element_instance_id*/) | 568 int /* element_instance_id*/) |
| 569 | 569 |
| 570 // Messages sent from the renderer to the browser. | 570 // Messages sent from the renderer to the browser. |
| 571 | 571 |
| 572 // A renderer sends this message when an extension process starts an API | 572 // A renderer sends this message when an extension process starts an API |
| 573 // request. The browser will always respond with a ExtensionMsg_Response. | 573 // request. The browser will always respond with a ExtensionMsg_Response. |
| 574 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, | 574 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, |
| 575 ExtensionHostMsg_Request_Params) | 575 ExtensionHostMsg_Request_Params) |
| 576 | 576 |
| 577 // A renderer sends this message when an extension process starts an API | 577 // A renderer sends this message when an extension process starts an API |
| 578 // request. The browser will always respond with a ExtensionMsg_Response. | 578 // request. The browser will always respond with a ExtensionMsg_Response. |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 int /* acc_obj_id */, | 804 int /* acc_obj_id */, |
| 805 base::string16 /* selector */) | 805 base::string16 /* selector */) |
| 806 | 806 |
| 807 // Result of a query selector request. | 807 // Result of a query selector request. |
| 808 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 808 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 809 // indicates no result. | 809 // indicates no result. |
| 810 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 810 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 811 int /* request_id */, | 811 int /* request_id */, |
| 812 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 812 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 813 int /* result_acc_obj_id */) | 813 int /* result_acc_obj_id */) |
| OLD | NEW |