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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 // Sent by the renderer when it has received a Blob handle from the browser. | 824 // Sent by the renderer when it has received a Blob handle from the browser. |
825 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, | 825 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, |
826 std::vector<std::string> /* blob_uuids */) | 826 std::vector<std::string> /* blob_uuids */) |
827 | 827 |
828 // Asks the browser to wake the event page of an extension. | 828 // Asks the browser to wake the event page of an extension. |
829 // The browser will reply with ExtensionHostMsg_WakeEventPageResponse. | 829 // The browser will reply with ExtensionHostMsg_WakeEventPageResponse. |
830 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_WakeEventPage, | 830 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_WakeEventPage, |
831 int /* request_id */, | 831 int /* request_id */, |
832 std::string /* extension_id */) | 832 std::string /* extension_id */) |
833 | 833 |
834 // Notifies the browser that the specified extension API schema could not be | |
835 // parsed. | |
836 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_NotifyBadExtensionApiSchema, | |
837 std::string /* api */) | |
838 | |
839 // Tells listeners that a detailed message was reported to the console by | 834 // Tells listeners that a detailed message was reported to the console by |
840 // WebKit. | 835 // WebKit. |
841 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded, | 836 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded, |
842 base::string16 /* message */, | 837 base::string16 /* message */, |
843 base::string16 /* source */, | 838 base::string16 /* source */, |
844 extensions::StackTrace /* stack trace */, | 839 extensions::StackTrace /* stack trace */, |
845 int32_t /* severity level */) | 840 int32_t /* severity level */) |
846 | 841 |
847 // Sent when a query selector request is made from the automation API. | 842 // Sent when a query selector request is made from the automation API. |
848 // acc_obj_id is the accessibility tree ID of the starting element. | 843 // acc_obj_id is the accessibility tree ID of the starting element. |
(...skipping 26 matching lines...) Expand all Loading... |
875 | 870 |
876 // The browser sends this message in response to all service worker extension | 871 // The browser sends this message in response to all service worker extension |
877 // api calls. The response data (if any) is one of the base::Value subclasses, | 872 // api calls. The response data (if any) is one of the base::Value subclasses, |
878 // wrapped as the first element in a ListValue. | 873 // wrapped as the first element in a ListValue. |
879 IPC_MESSAGE_CONTROL5(ExtensionMsg_ResponseWorker, | 874 IPC_MESSAGE_CONTROL5(ExtensionMsg_ResponseWorker, |
880 int /* thread_id */, | 875 int /* thread_id */, |
881 int /* request_id */, | 876 int /* request_id */, |
882 bool /* success */, | 877 bool /* success */, |
883 base::ListValue /* response wrapper (see comment above) */, | 878 base::ListValue /* response wrapper (see comment above) */, |
884 std::string /* error */) | 879 std::string /* error */) |
OLD | NEW |