OLD | NEW |
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 13 matching lines...) Expand all Loading... |
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 <window-controls> tag in platform apps. | 28 // Enables the <window-controls> tag in platform apps. |
29 const char kEnableAppWindowControls[] = "enable-app-window-controls"; | 29 const char kEnableAppWindowControls[] = "enable-app-window-controls"; |
30 | 30 |
31 // Enable BLE Advertisiing in apps. | 31 // Enable BLE Advertisiing in apps. |
32 const char kEnableBLEAdvertising[] = "enable-ble-advertising-in-apps"; | 32 const char kEnableBLEAdvertising[] = "enable-ble-advertising-in-apps"; |
33 | 33 |
34 const char kEnableDesktopCaptureAudio[] = | 34 const char kDisableDesktopCaptureAudio[] = |
35 "enable-audio-support-for-desktop-share"; | 35 "disable-audio-support-for-desktop-share"; |
36 | 36 |
37 // Hack so that feature switch can work with about_flags. See | 37 // Hack so that feature switch can work with about_flags. See |
38 // kEnableScriptsRequireAction. | 38 // kEnableScriptsRequireAction. |
39 const char kEnableEmbeddedExtensionOptions[] = | 39 const char kEnableEmbeddedExtensionOptions[] = |
40 "enable-embedded-extension-options"; | 40 "enable-embedded-extension-options"; |
41 | 41 |
42 // Enables extension APIs that are in development. | 42 // Enables extension APIs that are in development. |
43 const char kEnableExperimentalExtensionApis[] = | 43 const char kEnableExperimentalExtensionApis[] = |
44 "enable-experimental-extension-apis"; | 44 "enable-experimental-extension-apis"; |
45 | 45 |
46 // Hack so that feature switch can work with about_flags. See | 46 // Hack so that feature switch can work with about_flags. See |
47 // kEnableScriptsRequireAction. | 47 // kEnableScriptsRequireAction. |
48 const char kEnableExtensionActionRedesign[] = | 48 const char kEnableExtensionActionRedesign[] = |
49 "enable-extension-action-redesign"; | 49 "enable-extension-action-redesign"; |
50 | 50 |
51 // Enables the mojo implementation of the serial API. | 51 // Enables the mojo implementation of the serial API. |
52 const char kEnableMojoSerialService[] = "enable-mojo-serial-service"; | 52 const char kEnableMojoSerialService[] = "enable-mojo-serial-service"; |
53 | 53 |
54 // Enables extensions to hide bookmarks UI elements. | 54 // Enables extensions to hide bookmarks UI elements. |
55 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; | 55 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; |
56 | 56 |
57 // Enables tab for desktop sharing. | 57 // Enables tab for desktop sharing. |
| 58 const char kDisableTabForDesktopShare[] = "disable-tab-for-desktop-share"; |
58 const char kEnableTabForDesktopShare[] = "enable-tab-for-desktop-share"; | 59 const char kEnableTabForDesktopShare[] = "enable-tab-for-desktop-share"; |
59 | 60 |
60 // Allows the ErrorConsole to collect runtime and manifest errors, and display | 61 // Allows the ErrorConsole to collect runtime and manifest errors, and display |
61 // them in the chrome:extensions page. | 62 // them in the chrome:extensions page. |
62 const char kErrorConsole[] = "error-console"; | 63 const char kErrorConsole[] = "error-console"; |
63 | 64 |
64 // Whether to switch to extension action redesign mode (experimental). | 65 // Whether to switch to extension action redesign mode (experimental). |
65 const char kExtensionActionRedesign[] = "extension-action-redesign"; | 66 const char kExtensionActionRedesign[] = "extension-action-redesign"; |
66 | 67 |
67 // Marks a renderer as extension process. | 68 // Marks a renderer as extension process. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // Pass launch source to platform apps. | 110 // Pass launch source to platform apps. |
110 const char kTraceAppSource[] = "enable-trace-app-source"; | 111 const char kTraceAppSource[] = "enable-trace-app-source"; |
111 | 112 |
112 // Enable package hash check: the .crx file sha256 hash sum should be equal to | 113 // Enable package hash check: the .crx file sha256 hash sum should be equal to |
113 // the one received from update manifest. | 114 // the one received from update manifest. |
114 const char kEnableCrxHashCheck[] = "enable-crx-hash-check"; | 115 const char kEnableCrxHashCheck[] = "enable-crx-hash-check"; |
115 | 116 |
116 } // namespace switches | 117 } // namespace switches |
117 | 118 |
118 } // namespace extensions | 119 } // namespace extensions |
OLD | NEW |