| 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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 | 620 |
| 621 // Notify the browser that the given extension is no longer interested in | 621 // Notify the browser that the given extension is no longer interested in |
| 622 // instances of the named event that satisfy the filter. | 622 // instances of the named event that satisfy the filter. |
| 623 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_RemoveFilteredListener, | 623 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_RemoveFilteredListener, |
| 624 std::string /* extension_id */, | 624 std::string /* extension_id */, |
| 625 std::string /* name */, | 625 std::string /* name */, |
| 626 base::DictionaryValue /* filter */, | 626 base::DictionaryValue /* filter */, |
| 627 bool /* lazy */) | 627 bool /* lazy */) |
| 628 | 628 |
| 629 // Notify the browser that an event has finished being dispatched. | 629 // Notify the browser that an event has finished being dispatched. |
| 630 IPC_MESSAGE_ROUTED0(ExtensionHostMsg_EventAck) | 630 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_EventAck, |
| 631 int /* message_id */) |
| 631 | 632 |
| 632 // Open a channel to all listening contexts owned by the extension with | 633 // Open a channel to all listening contexts owned by the extension with |
| 633 // the given ID. This always returns a valid port ID which can be used for | 634 // the given ID. This always returns a valid port ID which can be used for |
| 634 // sending messages. If an error occurred, the opener will be notified | 635 // sending messages. If an error occurred, the opener will be notified |
| 635 // asynchronously. | 636 // asynchronously. |
| 636 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToExtension, | 637 IPC_SYNC_MESSAGE_CONTROL4_1(ExtensionHostMsg_OpenChannelToExtension, |
| 637 int /* routing_id */, | 638 int /* routing_id */, |
| 638 ExtensionMsg_ExternalConnectionInfo, | 639 ExtensionMsg_ExternalConnectionInfo, |
| 639 std::string /* channel_name */, | 640 std::string /* channel_name */, |
| 640 bool /* include_tls_channel_id */, | 641 bool /* include_tls_channel_id */, |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 int /* acc_obj_id */, | 810 int /* acc_obj_id */, |
| 810 base::string16 /* selector */) | 811 base::string16 /* selector */) |
| 811 | 812 |
| 812 // Result of a query selector request. | 813 // Result of a query selector request. |
| 813 // 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 |
| 814 // indicates no result. | 815 // indicates no result. |
| 815 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 816 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 816 int /* request_id */, | 817 int /* request_id */, |
| 817 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 818 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 818 int /* result_acc_obj_id */) | 819 int /* result_acc_obj_id */) |
| OLD | NEW |