Chromium Code Reviews| 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_CONTROL5(ExtensionHostMsg_CreateMimeHandlerViewGuest, | 801 IPC_MESSAGE_CONTROL3(ExtensionHostMsg_CreateMimeHandlerViewGuest, |
| 802 int /* render_frame_id */, | 802 int /* render_frame_id */, |
| 803 std::string /* embedder_url */, | 803 int /* element_instance_id */, |
| 804 std::string /* content_url */, | 804 base::DictionaryValue /* create_params */) |
|
not at google - send to devlin
2015/01/20 18:32:16
why is this a dictionary rather than a typed objec
paulmeyer
2015/01/20 19:12:09
Because |create_params| needs to be a DictionaryVa
not at google - send to devlin
2015/01/20 19:30:09
Why did OnExtensionCreateMimeHandlerViewGuest chan
paulmeyer
2015/01/21 15:25:55
Okay, I replaced the DictionaryValue with an IPC s
| |
| 805 std::string /* mime_type */, | |
| 806 int /* element_instance_id */) | |
| 807 | 805 |
| 808 // Sent when a query selector request is made from the automation API. | 806 // Sent when a query selector request is made from the automation API. |
| 809 // acc_obj_id is the accessibility tree ID of the starting element. | 807 // acc_obj_id is the accessibility tree ID of the starting element. |
| 810 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, | 808 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, |
| 811 int /* request_id */, | 809 int /* request_id */, |
| 812 int /* acc_obj_id */, | 810 int /* acc_obj_id */, |
| 813 base::string16 /* selector */) | 811 base::string16 /* selector */) |
| 814 | 812 |
| 815 // Result of a query selector request. | 813 // Result of a query selector request. |
| 816 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 814 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 817 // indicates no result. | 815 // indicates no result. |
| 818 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 816 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 819 int /* request_id */, | 817 int /* request_id */, |
| 820 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 818 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 821 int /* result_acc_obj_id */) | 819 int /* result_acc_obj_id */) |
| OLD | NEW |