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

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

Issue 2551303003: Remove unused packaged app window controls code. (Closed)
Patch Set: Nit Created 4 years 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') | extensions/renderer/app_window_custom_bindings.h » ('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 // Enables the <window-controls> tag in platform apps.
24 const char kEnableAppWindowControls[] = "enable-app-window-controls";
25
26 // Enable BLE Advertisiing in apps. 23 // Enable BLE Advertisiing in apps.
27 const char kEnableBLEAdvertising[] = "enable-ble-advertising-in-apps"; 24 const char kEnableBLEAdvertising[] = "enable-ble-advertising-in-apps";
28 25
29 const char kDisableDesktopCaptureAudio[] = 26 const char kDisableDesktopCaptureAudio[] =
30 "disable-audio-support-for-desktop-share"; 27 "disable-audio-support-for-desktop-share";
31 28
32 // Hack so that feature switch can work with about_flags. See 29 // Hack so that feature switch can work with about_flags. See
33 // kEnableScriptsRequireAction. 30 // kEnableScriptsRequireAction.
34 const char kEnableEmbeddedExtensionOptions[] = 31 const char kEnableEmbeddedExtensionOptions[] =
35 "enable-embedded-extension-options"; 32 "enable-embedded-extension-options";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Enables the use of C++-based extension bindings (instead of JS generation). 101 // Enables the use of C++-based extension bindings (instead of JS generation).
105 const char kNativeCrxBindings[] = "native-crx-bindings"; 102 const char kNativeCrxBindings[] = "native-crx-bindings";
106 103
107 // Enable package hash check: the .crx file sha256 hash sum should be equal to 104 // Enable package hash check: the .crx file sha256 hash sum should be equal to
108 // the one received from update manifest. 105 // the one received from update manifest.
109 const char kEnableCrxHashCheck[] = "enable-crx-hash-check"; 106 const char kEnableCrxHashCheck[] = "enable-crx-hash-check";
110 107
111 } // namespace switches 108 } // namespace switches
112 109
113 } // namespace extensions 110 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/renderer/app_window_custom_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698