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 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 | 791 |
792 // Sent by the renderer to set initialization parameters of a Browser Plugin | 792 // Sent by the renderer to set initialization parameters of a Browser Plugin |
793 // that is identified by |element_instance_id|. | 793 // that is identified by |element_instance_id|. |
794 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest, | 794 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest, |
795 int /* routing_id */, | 795 int /* routing_id */, |
796 int /* element_instance_id */, | 796 int /* element_instance_id */, |
797 int /* guest_instance_id */, | 797 int /* guest_instance_id */, |
798 base::DictionaryValue /* attach_params */) | 798 base::DictionaryValue /* attach_params */) |
799 | 799 |
800 // Tells the browser to create a mime handler guest view for a plugin. | 800 // Tells the browser to create a mime handler guest view for a plugin. |
801 IPC_MESSAGE_CONTROL3(ExtensionHostMsg_CreateMimeHandlerViewGuest, | 801 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_CreateMimeHandlerViewGuest, |
802 int /* render_frame_id */, | 802 int /* render_frame_id */, |
803 std::string /* view_id */, | 803 std::string /* view_id */, |
804 int /* element_instance_id */) | 804 int /* element_instance_id */, |
| 805 gfx::Size /* element_size */) |
805 | 806 |
806 // Sent when a query selector request is made from the automation API. | 807 // Sent when a query selector request is made from the automation API. |
807 // acc_obj_id is the accessibility tree ID of the starting element. | 808 // acc_obj_id is the accessibility tree ID of the starting element. |
808 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, | 809 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, |
809 int /* request_id */, | 810 int /* request_id */, |
810 int /* acc_obj_id */, | 811 int /* acc_obj_id */, |
811 base::string16 /* selector */) | 812 base::string16 /* selector */) |
812 | 813 |
813 // Result of a query selector request. | 814 // Result of a query selector request. |
814 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 815 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
815 // indicates no result. | 816 // indicates no result. |
816 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 817 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
817 int /* request_id */, | 818 int /* request_id */, |
818 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 819 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
819 int /* result_acc_obj_id */) | 820 int /* result_acc_obj_id */) |
OLD | NEW |