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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 | 754 |
755 // Sent by the renderer to set initialization parameters of a Browser Plugin | 755 // Sent by the renderer to set initialization parameters of a Browser Plugin |
756 // that is identified by |element_instance_id|. | 756 // that is identified by |element_instance_id|. |
757 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest, | 757 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest, |
758 int /* routing_id */, | 758 int /* routing_id */, |
759 int /* element_instance_id */, | 759 int /* element_instance_id */, |
760 int /* guest_instance_id */, | 760 int /* guest_instance_id */, |
761 base::DictionaryValue /* attach_params */) | 761 base::DictionaryValue /* attach_params */) |
762 | 762 |
763 // Tells the browser to create a mime handler guest view for a plugin. | 763 // Tells the browser to create a mime handler guest view for a plugin. |
764 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_CreateMimeHandlerViewGuest, | 764 IPC_MESSAGE_CONTROL5(ExtensionHostMsg_CreateMimeHandlerViewGuest, |
765 int /* render_frame_id */, | 765 int /* render_frame_id */, |
766 std::string /* embedder_url */, | 766 std::string /* embedder_url */, |
| 767 std::string /* content_url */, |
767 std::string /* mime_type */, | 768 std::string /* mime_type */, |
768 int /* element_instance_id */) | 769 int /* element_instance_id */) |
769 | 770 |
770 // Sent when a query selector request is made from the automation API. | 771 // Sent when a query selector request is made from the automation API. |
771 // acc_obj_id is the accessibility tree ID of the starting element. | 772 // acc_obj_id is the accessibility tree ID of the starting element. |
772 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, | 773 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, |
773 int /* request_id */, | 774 int /* request_id */, |
774 int /* acc_obj_id */, | 775 int /* acc_obj_id */, |
775 base::string16 /* selector */) | 776 base::string16 /* selector */) |
776 | 777 |
777 // Result of a query selector request. | 778 // Result of a query selector request. |
778 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 779 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
779 // indicates no result. | 780 // indicates no result. |
780 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 781 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
781 int /* request_id */, | 782 int /* request_id */, |
782 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 783 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
783 int /* result_acc_obj_id */) | 784 int /* result_acc_obj_id */) |
OLD | NEW |