| 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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 // main frame. | 753 // main frame. |
| 754 // * Something changed on an existing frame causing the set of matching searches | 754 // * Something changed on an existing frame causing the set of matching searches |
| 755 // to change. | 755 // to change. |
| 756 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 756 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
| 757 std::vector<std::string> /* Matching CSS selectors */) | 757 std::vector<std::string> /* Matching CSS selectors */) |
| 758 | 758 |
| 759 // Sent by the renderer when it has received a Blob handle from the browser. | 759 // Sent by the renderer when it has received a Blob handle from the browser. |
| 760 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, | 760 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, |
| 761 std::vector<std::string> /* blob_uuids */) | 761 std::vector<std::string> /* blob_uuids */) |
| 762 | 762 |
| 763 // Informs of updated frame names. | |
| 764 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_FrameNameChanged, | |
| 765 bool /* is_top_level */, | |
| 766 std::string /* name */) | |
| 767 | |
| 768 // Tells listeners that a detailed message was reported to the console by | 763 // Tells listeners that a detailed message was reported to the console by |
| 769 // WebKit. | 764 // WebKit. |
| 770 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded, | 765 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded, |
| 771 base::string16 /* message */, | 766 base::string16 /* message */, |
| 772 base::string16 /* source */, | 767 base::string16 /* source */, |
| 773 extensions::StackTrace /* stack trace */, | 768 extensions::StackTrace /* stack trace */, |
| 774 int32 /* severity level */) | 769 int32 /* severity level */) |
| 775 | 770 |
| 776 // 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. |
| 777 // 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. |
| 778 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, | 773 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, |
| 779 int /* request_id */, | 774 int /* request_id */, |
| 780 int /* acc_obj_id */, | 775 int /* acc_obj_id */, |
| 781 base::string16 /* selector */) | 776 base::string16 /* selector */) |
| 782 | 777 |
| 783 // Result of a query selector request. | 778 // Result of a query selector request. |
| 784 // 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 |
| 785 // indicates no result. | 780 // indicates no result. |
| 786 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 781 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 787 int /* request_id */, | 782 int /* request_id */, |
| 788 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 783 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 789 int /* result_acc_obj_id */) | 784 int /* result_acc_obj_id */) |
| OLD | NEW |