| 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[] = |
| 35 "enable-audio-support-for-desktop-share"; |
| 36 |
| 34 // Hack so that feature switch can work with about_flags. See | 37 // Hack so that feature switch can work with about_flags. See |
| 35 // kEnableScriptsRequireAction. | 38 // kEnableScriptsRequireAction. |
| 36 const char kEnableEmbeddedExtensionOptions[] = | 39 const char kEnableEmbeddedExtensionOptions[] = |
| 37 "enable-embedded-extension-options"; | 40 "enable-embedded-extension-options"; |
| 38 | 41 |
| 39 // Enables extension APIs that are in development. | 42 // Enables extension APIs that are in development. |
| 40 const char kEnableExperimentalExtensionApis[] = | 43 const char kEnableExperimentalExtensionApis[] = |
| 41 "enable-experimental-extension-apis"; | 44 "enable-experimental-extension-apis"; |
| 42 | 45 |
| 43 // Hack so that feature switch can work with about_flags. See | 46 // Hack so that feature switch can work with about_flags. See |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Pass launch source to platform apps. | 106 // Pass launch source to platform apps. |
| 104 const char kTraceAppSource[] = "enable-trace-app-source"; | 107 const char kTraceAppSource[] = "enable-trace-app-source"; |
| 105 | 108 |
| 106 // Enable package hash check: the .crx file sha256 hash sum should be equal to | 109 // Enable package hash check: the .crx file sha256 hash sum should be equal to |
| 107 // the one received from update manifest. | 110 // the one received from update manifest. |
| 108 const char kEnableCrxHashCheck[] = "enable-crx-hash-check"; | 111 const char kEnableCrxHashCheck[] = "enable-crx-hash-check"; |
| 109 | 112 |
| 110 } // namespace switches | 113 } // namespace switches |
| 111 | 114 |
| 112 } // namespace extensions | 115 } // namespace extensions |
| OLD | NEW |