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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 164039: Add module-level permissions to extensions. (Closed)
Patch Set: final nits Created 11 years, 4 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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 // are part of the target RenderView. 571 // are part of the target RenderView.
572 // |args| is a list of primitive Value types that are passed to the function. 572 // |args| is a list of primitive Value types that are passed to the function.
573 IPC_MESSAGE_ROUTED2(ViewMsg_ExtensionMessageInvoke, 573 IPC_MESSAGE_ROUTED2(ViewMsg_ExtensionMessageInvoke,
574 std::string /* function_name */, 574 std::string /* function_name */,
575 ListValue /* args */) 575 ListValue /* args */)
576 576
577 // Tell the renderer process all known extension function names. 577 // Tell the renderer process all known extension function names.
578 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetFunctionNames, 578 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetFunctionNames,
579 std::vector<std::string>) 579 std::vector<std::string>)
580 580
581 // Tell the renderer process which permissions the given extension has. See
582 // Extension::Permissions for which elements correspond to which permissions.
583 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_SetPermissions,
584 std::string /* extension_id */,
585 std::vector<std::string> /* permissions */)
586
581 // Tell the renderer process all known page action ids for a particular 587 // Tell the renderer process all known page action ids for a particular
582 // extension. 588 // extension.
583 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions, 589 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions,
584 std::string /* extension_id */, 590 std::string /* extension_id */,
585 std::vector<std::string> /* page_action_ids */) 591 std::vector<std::string> /* page_action_ids */)
586 592
587 // Changes the text direction of the currently selected input field (if any). 593 // Changes the text direction of the currently selected input field (if any).
588 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, 594 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
589 WebKit::WebTextDirection /* direction */) 595 WebKit::WebTextDirection /* direction */)
590 596
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1644 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1639 FilePath /* the name of the file */, 1645 FilePath /* the name of the file */,
1640 int32 /* a unique message ID */) 1646 int32 /* a unique message ID */)
1641 1647
1642 // Asks the browser process to return the size of a DB file 1648 // Asks the browser process to return the size of a DB file
1643 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1649 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1644 FilePath /* the name of the file */, 1650 FilePath /* the name of the file */,
1645 int32 /* a unique message ID */) 1651 int32 /* a unique message ID */)
1646 1652
1647 IPC_END_MESSAGES(ViewHost) 1653 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698