| 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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 // the sequential nature of IPCs so that the blob has already been caught. | 547 // the sequential nature of IPCs so that the blob has already been caught. |
| 548 // This is a separate control message, so that the renderer process will send | 548 // This is a separate control message, so that the renderer process will send |
| 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 MimeHandlerView guest's JavaScript onload function has been called, |
| 558 // this IPC is sent to the container to notify it. |
| 559 IPC_MESSAGE_CONTROL1(ExtensionMsg_MimeHandlerViewGuestOnLoadCompleted, |
| 560 int /* element_instance_id */) |
| 561 |
| 557 // Once a RenderView proxy has been created for the guest in the embedder render | 562 // 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. | 563 // process, this IPC informs the embedder of the proxy's routing ID. |
| 559 IPC_MESSAGE_CONTROL2(ExtensionMsg_GuestAttached, | 564 IPC_MESSAGE_CONTROL2(ExtensionMsg_GuestAttached, |
| 560 int /* element_instance_id */, | 565 int /* element_instance_id */, |
| 561 int /* source_routing_id */) | 566 int /* source_routing_id */) |
| 562 | 567 |
| 563 // This IPC tells the browser process to detach the provided | 568 // This IPC tells the browser process to detach the provided |
| 564 // |element_instance_id| from a GuestViewBase if it is attached to one. | 569 // |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 | 570 // In other words, routing of input and graphics will no longer flow through |
| 566 // the container associated with the provided ID. | 571 // the container associated with the provided ID. |
| 567 IPC_MESSAGE_CONTROL1(ExtensionMsg_GuestDetached, | 572 IPC_MESSAGE_CONTROL1(ExtensionMsg_GuestDetached, |
| 568 int /* element_instance_id*/) | 573 int /* element_instance_id*/) |
| 569 | 574 |
| 570 // Messages sent from the renderer to the browser. | 575 // Messages sent from the renderer to the browser. |
| 571 | 576 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 int /* acc_obj_id */, | 809 int /* acc_obj_id */, |
| 805 base::string16 /* selector */) | 810 base::string16 /* selector */) |
| 806 | 811 |
| 807 // Result of a query selector request. | 812 // Result of a query selector request. |
| 808 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 813 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 809 // indicates no result. | 814 // indicates no result. |
| 810 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 815 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 811 int /* request_id */, | 816 int /* request_id */, |
| 812 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 817 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 813 int /* result_acc_obj_id */) | 818 int /* result_acc_obj_id */) |
| OLD | NEW |