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

Side by Side Diff: extensions/common/switches.cc

Issue 270153004: Introduce ActiveScriptController; track active extension scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/renderer/user_script_slave.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "extensions/common/switches.h" 5 #include "extensions/common/switches.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Extensions still need to explicitly request access to chrome:// URLs in the 52 // Extensions still need to explicitly request access to chrome:// URLs in the
53 // manifest. 53 // manifest.
54 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; 54 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
55 55
56 // Whether to force developer mode extensions highlighting. 56 // Whether to force developer mode extensions highlighting.
57 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; 57 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting";
58 58
59 // Enables setting global commands through the Extensions Commands API. 59 // Enables setting global commands through the Extensions Commands API.
60 const char kGlobalCommands[] = "global-commands"; 60 const char kGlobalCommands[] = "global-commands";
61 61
62 // Notify the user and require consent for extensions running scripts.
63 const char kScriptsRequireAction[] = "scripts-require-action";
64
62 // Makes component extensions appear in chrome://settings/extensions. 65 // Makes component extensions appear in chrome://settings/extensions.
63 const char kShowComponentExtensionOptions[] = 66 const char kShowComponentExtensionOptions[] =
64 "show-component-extension-options"; 67 "show-component-extension-options";
65 68
66 // Adds the given extension ID to all the permission whitelists. 69 // Adds the given extension ID to all the permission whitelists.
67 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; 70 const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
68 71
69 } // namespace switches 72 } // namespace switches
70 73
71 } // namespace extensions 74 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/renderer/user_script_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698