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