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

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

Issue 564993002: Embedded Extension Options: remove flags and trunk channel restrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « extensions/common/switches.h ('k') | no next file » | 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
11 // Allows non-https URL for background_page for hosted apps. 11 // Allows non-https URL for background_page for hosted apps.
12 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; 12 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page";
13 13
14 // Allows the browser to load extensions that lack a modern manifest when that 14 // Allows the browser to load extensions that lack a modern manifest when that
15 // would otherwise be forbidden. 15 // would otherwise be forbidden.
16 const char kAllowLegacyExtensionManifests[] = 16 const char kAllowLegacyExtensionManifests[] =
17 "allow-legacy-extension-manifests"; 17 "allow-legacy-extension-manifests";
18 18
19 // Enables the <appview> tag in platform apps. 19 // Enables the <appview> tag in platform apps.
20 const char kAppView[] = "app-view"; 20 const char kAppView[] = "app-view";
21 21
22 // Enables extension options to be embedded in chrome://extensions rather than
23 // a new tab.
24 const char kEmbeddedExtensionOptions[] = "embedded-extension-options";
25
26 // Show apps windows after the first paint. Windows will be shown significantly 22 // Show apps windows after the first paint. Windows will be shown significantly
27 // later for heavy apps loading resources synchronously but it will be 23 // later for heavy apps loading resources synchronously but it will be
28 // insignificant for apps that load most of their resources asynchronously. 24 // insignificant for apps that load most of their resources asynchronously.
29 const char kEnableAppsShowOnFirstPaint[] = "enable-apps-show-on-first-paint"; 25 const char kEnableAppsShowOnFirstPaint[] = "enable-apps-show-on-first-paint";
30 26
31 // Hack so that feature switch can work with about_flags. See 27 // Hack so that feature switch can work with about_flags. See
32 // kEnableScriptsRequireAction. 28 // kEnableScriptsRequireAction.
33 const char kEnableAppView[] = "enable-app-view"; 29 const char kEnableAppView[] = "enable-app-view";
34 30
35 // Enables the <window-controls> tag in platform apps. 31 // Enables the <window-controls> tag in platform apps.
36 const char kEnableAppWindowControls[] = "enable-app-window-controls"; 32 const char kEnableAppWindowControls[] = "enable-app-window-controls";
37 33
38 // Hack so that feature switch can work with about_flags. See
39 // kEnableScriptsRequireAction.
40 const char kEnableEmbeddedExtensionOptions[] =
41 "enable-embedded-extension-options";
42
43 // Enables extension APIs that are in development. 34 // Enables extension APIs that are in development.
44 const char kEnableExperimentalExtensionApis[] = 35 const char kEnableExperimentalExtensionApis[] =
45 "enable-experimental-extension-apis"; 36 "enable-experimental-extension-apis";
46 37
47 // Hack so that feature switch can work with about_flags. See 38 // Hack so that feature switch can work with about_flags. See
48 // kEnableScriptsRequireAction. 39 // kEnableScriptsRequireAction.
49 const char kEnableExtensionActionRedesign[] = 40 const char kEnableExtensionActionRedesign[] =
50 "enable-extension-action-redesign"; 41 "enable-extension-action-redesign";
51 42
52 // Hack so that feature switch can work with about_flags. See 43 // Hack so that feature switch can work with about_flags. See
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // Makes component extensions appear in chrome://settings/extensions. 90 // Makes component extensions appear in chrome://settings/extensions.
100 const char kShowComponentExtensionOptions[] = 91 const char kShowComponentExtensionOptions[] =
101 "show-component-extension-options"; 92 "show-component-extension-options";
102 93
103 // Adds the given extension ID to all the permission whitelists. 94 // Adds the given extension ID to all the permission whitelists.
104 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; 95 const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
105 96
106 } // namespace switches 97 } // namespace switches
107 98
108 } // namespace extensions 99 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698