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

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

Issue 492133002: Renderer changes for wiring up shared memory with declarative injection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed up tests and responded to other comments Created 6 years, 3 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
OLDNEW
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 // 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // If |changed_extensions| is not empty, only the extensions in that set will 399 // If |changed_extensions| is not empty, only the extensions in that set will
400 // be updated. Otherwise, all extensions that have scripts in the shared memory 400 // be updated. Otherwise, all extensions that have scripts in the shared memory
401 // region will be updated. Note that the empty set => all extensions case is not 401 // region will be updated. Note that the empty set => all extensions case is not
402 // supported for per-extension programmatically-defined script regions; in such 402 // supported for per-extension programmatically-defined script regions; in such
403 // regions, the owner is expected to list itself as the only changed extension. 403 // regions, the owner is expected to list itself as the only changed extension.
404 IPC_MESSAGE_CONTROL3(ExtensionMsg_UpdateUserScripts, 404 IPC_MESSAGE_CONTROL3(ExtensionMsg_UpdateUserScripts,
405 base::SharedMemoryHandle, 405 base::SharedMemoryHandle,
406 extensions::ExtensionId /* owner */, 406 extensions::ExtensionId /* owner */,
407 std::set<std::string> /* changed extensions */) 407 std::set<std::string> /* changed extensions */)
408 408
409 // Trigger to execute declarative content script under browser control.
410 IPC_MESSAGE_ROUTED4(ExtensionMsg_ExecuteDeclarativeScript,
411 int /* tab identifier */,
412 extensions::ExtensionId /* extension identifier */,
413 int /* script identifier */,
414 GURL /* page URL where script should be injected */)
415
409 // Tell the render view which browser window it's being attached to. 416 // Tell the render view which browser window it's being attached to.
410 IPC_MESSAGE_ROUTED1(ExtensionMsg_UpdateBrowserWindowId, 417 IPC_MESSAGE_ROUTED1(ExtensionMsg_UpdateBrowserWindowId,
411 int /* id of browser window */) 418 int /* id of browser window */)
412 419
413 // Tell the render view what its tab ID is. 420 // Tell the render view what its tab ID is.
414 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabId, 421 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabId,
415 int /* id of tab */) 422 int /* id of tab */)
416 423
417 // Tell the renderer to update an extension's permission set. 424 // Tell the renderer to update an extension's permission set.
418 IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdatePermissions, 425 IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdatePermissions,
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 bool /* is_top_level */, 718 bool /* is_top_level */,
712 std::string /* name */) 719 std::string /* name */)
713 720
714 // Tells listeners that a detailed message was reported to the console by 721 // Tells listeners that a detailed message was reported to the console by
715 // WebKit. 722 // WebKit.
716 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded, 723 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded,
717 base::string16 /* message */, 724 base::string16 /* message */,
718 base::string16 /* source */, 725 base::string16 /* source */,
719 extensions::StackTrace /* stack trace */, 726 extensions::StackTrace /* stack trace */,
720 int32 /* severity level */) 727 int32 /* severity level */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698