| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // Send to renderer once the installation mentioned on | 64 // Send to renderer once the installation mentioned on |
| 65 // ExtensionHostMsg_InlineWebstoreInstall is complete. | 65 // ExtensionHostMsg_InlineWebstoreInstall is complete. |
| 66 IPC_MESSAGE_ROUTED4(ExtensionMsg_InlineWebstoreInstallResponse, | 66 IPC_MESSAGE_ROUTED4(ExtensionMsg_InlineWebstoreInstallResponse, |
| 67 int32 /* install id */, | 67 int32 /* install id */, |
| 68 bool /* whether the install was successful */, | 68 bool /* whether the install was successful */, |
| 69 std::string /* error */, | 69 std::string /* error */, |
| 70 extensions::webstore_install::Result /* result */) | 70 extensions::webstore_install::Result /* result */) |
| 71 | 71 |
| 72 // Messages sent from the renderer to the browser. | 72 // Messages sent from the renderer to the browser. |
| 73 | 73 |
| 74 // Sent by the renderer to check if a URL has permission to trigger a clipboard | |
| 75 // read/write operation from the DOM. | |
| 76 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_CanTriggerClipboardRead, | |
| 77 GURL /* origin */, | |
| 78 bool /* allowed */) | |
| 79 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_CanTriggerClipboardWrite, | |
| 80 GURL /* origin */, | |
| 81 bool /* allowed */) | |
| 82 | 74 |
| 83 // Sent by the renderer to implement chrome.webstore.install(). | 75 // Sent by the renderer to implement chrome.webstore.install(). |
| 84 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, | 76 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, |
| 85 int32 /* install id */, | 77 int32 /* install id */, |
| 86 int32 /* return route id */, | 78 int32 /* return route id */, |
| 87 std::string /* Web Store item ID */, | 79 std::string /* Web Store item ID */, |
| 88 GURL /* requestor URL */, | 80 GURL /* requestor URL */, |
| 89 int /* listeners_mask */) | 81 int /* listeners_mask */) |
| 90 | 82 |
| 91 IPC_MESSAGE_ROUTED1(ChromeExtensionHostMsg_DidGetApplicationInfo, | 83 IPC_MESSAGE_ROUTED1(ChromeExtensionHostMsg_DidGetApplicationInfo, |
| 92 WebApplicationInfo) | 84 WebApplicationInfo) |
| OLD | NEW |