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 // Chrome-specific IPC messages for extensions. | 5 // Chrome-specific IPC messages for extensions. |
6 // Extension-related messages that aren't specific to Chrome live in | 6 // Extension-related messages that aren't specific to Chrome live in |
7 // extensions/common/extension_messages.h. | 7 // extensions/common/extension_messages.h. |
8 // | 8 // |
9 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
10 | 10 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 std::string /* error */, | 79 std::string /* error */, |
80 extensions::webstore_install::Result /* result */) | 80 extensions::webstore_install::Result /* result */) |
81 | 81 |
82 // Messages sent from the renderer to the browser. | 82 // Messages sent from the renderer to the browser. |
83 | 83 |
84 // Informs the browser of updated frame names. | 84 // Informs the browser of updated frame names. |
85 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_UpdateFrameName, | 85 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_UpdateFrameName, |
86 bool /* is_top_level */, | 86 bool /* is_top_level */, |
87 std::string /* name */) | 87 std::string /* name */) |
88 | 88 |
89 // Sent by the renderer to check if a URL has permission to trigger a clipboard | |
90 // read/write operation from the DOM. | |
91 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_CanTriggerClipboardRead, | |
92 GURL /* origin */, | |
93 bool /* allowed */) | |
94 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_CanTriggerClipboardWrite, | |
95 GURL /* origin */, | |
96 bool /* allowed */) | |
97 | |
98 // Tells listeners that a detailed message was reported to the console by | 89 // Tells listeners that a detailed message was reported to the console by |
99 // WebKit. | 90 // WebKit. |
100 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 91 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
101 base::string16 /* message */, | 92 base::string16 /* message */, |
102 base::string16 /* source */, | 93 base::string16 /* source */, |
103 extensions::StackTrace /* stack trace */, | 94 extensions::StackTrace /* stack trace */, |
104 int32 /* severity level */) | 95 int32 /* severity level */) |
105 | 96 |
106 // Sent by the renderer to implement chrome.webstore.install(). | 97 // Sent by the renderer to implement chrome.webstore.install(). |
107 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, | 98 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, |
108 int32 /* install id */, | 99 int32 /* install id */, |
109 int32 /* return route id */, | 100 int32 /* return route id */, |
110 std::string /* Web Store item ID */, | 101 std::string /* Web Store item ID */, |
111 GURL /* requestor URL */, | 102 GURL /* requestor URL */, |
112 int /* listeners_mask */) | 103 int /* listeners_mask */) |
113 | 104 |
114 IPC_MESSAGE_ROUTED1(ChromeExtensionHostMsg_DidGetApplicationInfo, | 105 IPC_MESSAGE_ROUTED1(ChromeExtensionHostMsg_DidGetApplicationInfo, |
115 WebApplicationInfo) | 106 WebApplicationInfo) |
OLD | NEW |