Avi Drissman | d878a501 | 2022-09-12 19:13:30 | [diff] [blame] | 1 | // Copyright 2021 The Chromium Authors |
Guohui Deng | 699f9fd | 2021-05-13 20:46:27 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROMECAST_COMMON_FEATURE_CONSTANTS_H_ |
| 6 | #define CHROMECAST_COMMON_FEATURE_CONSTANTS_H_ |
| 7 | |
| 8 | namespace chromecast { |
| 9 | namespace feature { |
| 10 | |
| 11 | // TODO(b/187758538): Upstream more Feature Constants here. |
| 12 | |
| 13 | // TODO(b/187524799): Remove this feature when the related features are |
| 14 | // deprecated. |
Guohui Deng | 07132b4e | 2021-09-30 16:47:36 | [diff] [blame] | 15 | extern const char kEnableTrackControlAppRendererFeatureUse[]; |
| 16 | // The app can use playready. |
Guohui Deng | 9a2a11a3 | 2021-07-02 17:18:27 | [diff] [blame] | 17 | extern const char kEnablePlayready[]; |
Guohui Deng | 699f9fd | 2021-05-13 20:46:27 | [diff] [blame] | 18 | |
Guohui Deng | 07132b4e | 2021-09-30 16:47:36 | [diff] [blame] | 19 | extern const char kKeyAppId[]; |
Guohui Deng | 07132b4e | 2021-09-30 16:47:36 | [diff] [blame] | 20 | |
Sean Topping | 0436b46 | 2021-10-12 21:38:56 | [diff] [blame] | 21 | // If dev mode is enabled, kDevModeOrigin will be set with origin url |
| 22 | extern const char kEnableDevMode[]; |
| 23 | extern const char kDevModeOrigin[]; |
| 24 | |
Sean Topping | 0436b46 | 2021-10-12 21:38:56 | [diff] [blame] | 25 | // Permit subscription to platform system gesture events? |
| 26 | extern const char kEnableSystemGestures[]; |
| 27 | |
| 28 | // Enables window APIs for the webpage (show/hide, etc.) |
| 29 | extern const char kEnableWindowControls[]; |
| 30 | |
| 31 | // Enable mojo connection for the settings UI. |
| 32 | extern const char kEnableSettingsUiMojo[]; |
| 33 | |
| 34 | // Disable blink background tab timer throttling for making sure application in |
| 35 | // in mini tile mode runs smoothly. |
| 36 | extern const char kDisableBackgroundTabTimerThrottle[]; |
| 37 | |
| 38 | // Sets RenderFrameMediaPlaybackOptions::kIsBackgroundMediaSuspendEnabled to |
| 39 | // false. |
| 40 | extern const char kDisableBackgroundSuspend[]; |
| 41 | |
| 42 | // Enable sending/receiving messages to/from libassistant |
| 43 | extern const char kEnableAssistantMessagePipe[]; |
| 44 | |
| 45 | // Enable a standalone demo app to control privileged features. |
| 46 | extern const char kEnableDemoStandaloneMode[]; |
| 47 | |
Vigen Issahhanjan | d37835a5 | 2022-05-16 21:35:06 | [diff] [blame] | 48 | // Cast Core constants for ApplicationConfig.extra_features. |
| 49 | extern const char kCastCoreRendererFeatures[]; |
| 50 | extern const char kCastCoreEnforceFeaturePermissions[]; |
| 51 | extern const char kCastCoreFeaturePermissions[]; |
| 52 | extern const char kCastCoreFeaturePermissionOrigins[]; |
Vigen Issahhanjan | 012b21a | 2024-03-29 22:22:21 | [diff] [blame] | 53 | extern const char kCastCoreAllowMediaAccess[]; |
| 54 | extern const char kCastCoreForce720p[]; |
Vigen Issahhanjan | d37835a5 | 2022-05-16 21:35:06 | [diff] [blame] | 55 | extern const char kCastCoreIsAudioOnly[]; |
Vigen Issahhanjan | 12c968f | 2022-07-15 01:58:49 | [diff] [blame] | 56 | extern const char kCastCoreIsRemoteControlMode[]; |
Vigen Issahhanjan | 012b21a | 2024-03-29 22:22:21 | [diff] [blame] | 57 | extern const char kCastCoreLogJsConsoleMessages[]; |
| 58 | extern const char kCastCoreTurnOnScreen[]; |
Vigen Issahhanjan | db17959 | 2024-11-05 17:38:43 | [diff] [blame] | 59 | extern const char kCastCoreKeepScreenOn[]; |
Vigen Issahhanjan | d37835a5 | 2022-05-16 21:35:06 | [diff] [blame] | 60 | |
Erin Yan | 47845d4 | 2025-02-05 21:27:34 | [diff] [blame] | 61 | extern const char kCastCoreBitstreamAudioCodecsInfo[]; |
| 62 | extern const char kCastCoreCodecs[]; |
| 63 | extern const char kCastCoreSpatialRendering[]; |
| 64 | |
Guohui Deng | 699f9fd | 2021-05-13 20:46:27 | [diff] [blame] | 65 | } // namespace feature |
| 66 | } // namespace chromecast |
| 67 | |
| 68 | #endif // CHROMECAST_COMMON_FEATURE_CONSTANTS_H_ |