| 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 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "base/values.h" |
| 14 #include "chrome/common/extensions/api/webstore/webstore_api_constants.h" | 15 #include "chrome/common/extensions/api/webstore/webstore_api_constants.h" |
| 15 #include "chrome/common/extensions/webstore_install_result.h" | 16 #include "chrome/common/extensions/webstore_install_result.h" |
| 16 #include "chrome/common/web_application_info.h" | 17 #include "chrome/common/web_application_info.h" |
| 17 #include "extensions/common/stack_frame.h" | 18 #include "extensions/common/stack_frame.h" |
| 18 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
| 19 #include "url/gurl.h" | 20 #include "url/gurl.h" |
| 20 | 21 |
| 21 #define IPC_MESSAGE_START ChromeExtensionMsgStart | 22 #define IPC_MESSAGE_START ChromeExtensionMsgStart |
| 22 | 23 |
| 23 IPC_ENUM_TRAITS_MAX_VALUE(extensions::api::webstore::InstallStage, | 24 IPC_ENUM_TRAITS_MAX_VALUE(extensions::api::webstore::InstallStage, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // Sent by the renderer to implement chrome.webstore.install(). | 107 // Sent by the renderer to implement chrome.webstore.install(). |
| 107 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, | 108 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, |
| 108 int32 /* install id */, | 109 int32 /* install id */, |
| 109 int32 /* return route id */, | 110 int32 /* return route id */, |
| 110 std::string /* Web Store item ID */, | 111 std::string /* Web Store item ID */, |
| 111 GURL /* requestor URL */, | 112 GURL /* requestor URL */, |
| 112 int /* listeners_mask */) | 113 int /* listeners_mask */) |
| 113 | 114 |
| 114 IPC_MESSAGE_ROUTED1(ChromeExtensionHostMsg_DidGetApplicationInfo, | 115 IPC_MESSAGE_ROUTED1(ChromeExtensionHostMsg_DidGetApplicationInfo, |
| 115 WebApplicationInfo) | 116 WebApplicationInfo) |
| 117 |
| 118 // Sent by the renderer to set initialization parameters of a Browser Plugin |
| 119 // that is identified by |element_instance_id|. |
| 120 IPC_MESSAGE_CONTROL4(ChromeExtensionHostMsg_GuestViewSetAttachParams, |
| 121 int /* routing_id */, |
| 122 int /* element_instance_id */, |
| 123 int /* guest_instance_id */, |
| 124 base::DictionaryValue /* attach_params */) |
| OLD | NEW |