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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // by ViewHostMsg_OpenChannelTo*. | 260 // by ViewHostMsg_OpenChannelTo*. |
261 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_CloseChannel, | 261 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_CloseChannel, |
262 int /* port_id */) | 262 int /* port_id */) |
263 | 263 |
264 // Used to get the extension message bundle. | 264 // Used to get the extension message bundle. |
265 IPC_SYNC_MESSAGE_CONTROL1_1(ExtensionHostMsg_GetMessageBundle, | 265 IPC_SYNC_MESSAGE_CONTROL1_1(ExtensionHostMsg_GetMessageBundle, |
266 std::string /* extension id */, | 266 std::string /* extension id */, |
267 SubstitutionMap /* message bundle */) | 267 SubstitutionMap /* message bundle */) |
268 | 268 |
269 // Send from the renderer to the browser to return the script running result. | 269 // Send from the renderer to the browser to return the script running result. |
270 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExecuteCodeFinished, | 270 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_ExecuteCodeFinished, |
271 int, /* request id */ | 271 int, /* request id */ |
272 bool /* whether the script ran successfully */) | 272 bool /* whether the script ran successfully */) |
273 | 273 |
274 | 274 |
275 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo, | 275 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo, |
276 int32 /* page_id */, | 276 int32 /* page_id */, |
277 WebApplicationInfo) | 277 WebApplicationInfo) |
278 | 278 |
279 // Sent by the renderer to implement chrome.app.installApplication(). | 279 // Sent by the renderer to implement chrome.app.installApplication(). |
280 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InstallApplication, | 280 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_InstallApplication, |
281 WebApplicationInfo) | 281 WebApplicationInfo) |
OLD | NEW |