Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: chrome/common/extensions/extension_messages.h

Issue 9460002: Convert app_bindings.js to the schema_generated_bindings.js infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aa comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Tell the renderer process all known extension function names. 185 // Tell the renderer process all known extension function names.
186 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetFunctionNames, 186 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetFunctionNames,
187 std::vector<std::string>) 187 std::vector<std::string>)
188 188
189 // Marks an extension as 'active' in an extension process. 'Active' extensions 189 // Marks an extension as 'active' in an extension process. 'Active' extensions
190 // have more privileges than other extension content that might end up running 190 // have more privileges than other extension content that might end up running
191 // in the process (e.g. because of iframes or content scripts). 191 // in the process (e.g. because of iframes or content scripts).
192 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, 192 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension,
193 std::string /* extension_id */) 193 std::string /* extension_id */)
194 194
195 // Marks an application as 'active' in a process.
196 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateApplication,
197 std::string /* extension_id */)
198
199 // Notifies the renderer that extensions were loaded in the browser. 195 // Notifies the renderer that extensions were loaded in the browser.
200 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded, 196 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded,
201 std::vector<ExtensionMsg_Loaded_Params>) 197 std::vector<ExtensionMsg_Loaded_Params>)
202 198
203 // Notifies the renderer that an extension was unloaded in the browser. 199 // Notifies the renderer that an extension was unloaded in the browser.
204 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded, 200 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded,
205 std::string) 201 std::string)
206 202
207 // Updates the scripting whitelist for extensions in the render process. This is 203 // Updates the scripting whitelist for extensions in the render process. This is
208 // only used for testing. 204 // only used for testing.
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // Response to the renderer for the above message. 367 // Response to the renderer for the above message.
372 IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse, 368 IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse,
373 std::string /* channel_id */, 369 std::string /* channel_id */,
374 std::string /* error */, 370 std::string /* error */,
375 int32 /* callback_id */) 371 int32 /* callback_id */)
376 372
377 // Deliver a message sent with ExtensionHostMsg_PostMessage. 373 // Deliver a message sent with ExtensionHostMsg_PostMessage.
378 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, 374 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage,
379 int /* target_port_id */, 375 int /* target_port_id */,
380 std::string /* message */) 376 std::string /* message */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698