| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/common/extensions/extension.h" | 10 #include "chrome/common/extensions/extension.h" |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 // Send from the renderer to the browser to return the script running result. | 303 // Send from the renderer to the browser to return the script running result. |
| 304 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ExecuteCodeFinished, | 304 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ExecuteCodeFinished, |
| 305 int /* request id */, | 305 int /* request id */, |
| 306 bool /* whether the script ran successfully */, | 306 bool /* whether the script ran successfully */, |
| 307 std::string /* error message */) | 307 std::string /* error message */) |
| 308 | 308 |
| 309 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo, | 309 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo, |
| 310 int32 /* page_id */, | 310 int32 /* page_id */, |
| 311 WebApplicationInfo) | 311 WebApplicationInfo) |
| 312 | 312 |
| 313 // Sent by the renderer to implement chrome.app.installApplication(). | 313 // Sent by the renderer to implement chrome.app.install(). |
| 314 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InstallApplication, | 314 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InstallApplication, |
| 315 WebApplicationInfo) | 315 WebApplicationInfo) |
| 316 |
| 317 // Sent by the renderer to implement chrome.webstore.install(). |
| 318 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InlineWebstoreInstall, |
| 319 std::string /* Web Store item ID */) |
| OLD | NEW |