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

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

Issue 486903002: Moving app_view to extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/extensions.gyp » ('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
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 extension options to be embedded in chrome://extensions rather than 19 // Enables extension options to be embedded in chrome://extensions rather than
20 // a new tab. 20 // a new tab.
21 const char kEmbeddedExtensionOptions[] = "embedded-extension-options"; 21 const char kEmbeddedExtensionOptions[] = "embedded-extension-options";
22 22
23 // Show apps windows after the first paint. Windows will be shown significantly 23 // Show apps windows after the first paint. Windows will be shown significantly
24 // later for heavy apps loading resources synchronously but it will be 24 // later for heavy apps loading resources synchronously but it will be
25 // insignificant for apps that load most of their resources asynchronously. 25 // insignificant for apps that load most of their resources asynchronously.
26 const char kEnableAppsShowOnFirstPaint[] = "enable-apps-show-on-first-paint"; 26 const char kEnableAppsShowOnFirstPaint[] = "enable-apps-show-on-first-paint";
27 27
28 // Enables the <appview> tag in platform apps.
29 const char kEnableAppView[] = "enable-app-view";
30
28 // Hack so that feature switch can work with about_flags. See 31 // Hack so that feature switch can work with about_flags. See
29 // kEnableScriptsRequireAction. 32 // kEnableScriptsRequireAction.
30 const char kEnableEmbeddedExtensionOptions[] = 33 const char kEnableEmbeddedExtensionOptions[] =
31 "enable-embedded-extension-options"; 34 "enable-embedded-extension-options";
32 35
33 // Enables extension APIs that are in development. 36 // Enables extension APIs that are in development.
34 const char kEnableExperimentalExtensionApis[] = 37 const char kEnableExperimentalExtensionApis[] =
35 "enable-experimental-extension-apis"; 38 "enable-experimental-extension-apis";
36 39
37 // Hack so that feature switch can work with about_flags. See 40 // Hack so that feature switch can work with about_flags. See
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Makes component extensions appear in chrome://settings/extensions. 85 // Makes component extensions appear in chrome://settings/extensions.
83 const char kShowComponentExtensionOptions[] = 86 const char kShowComponentExtensionOptions[] =
84 "show-component-extension-options"; 87 "show-component-extension-options";
85 88
86 // Adds the given extension ID to all the permission whitelists. 89 // Adds the given extension ID to all the permission whitelists.
87 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; 90 const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
88 91
89 } // namespace switches 92 } // namespace switches
90 93
91 } // namespace extensions 94 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698