blob: 74733e2a9f14742566a301c559c00dd8bf945080 [file] [log] [blame]
Avi Drissmand878a5012022-09-12 19:13:301// Copyright 2021 The Chromium Authors
Guohui Deng699f9fd2021-05-13 20:46:272// 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
8namespace chromecast {
9namespace 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 Deng07132b4e2021-09-30 16:47:3615extern const char kEnableTrackControlAppRendererFeatureUse[];
16// The app can use playready.
Guohui Deng9a2a11a32021-07-02 17:18:2717extern const char kEnablePlayready[];
Guohui Deng699f9fd2021-05-13 20:46:2718
Guohui Deng07132b4e2021-09-30 16:47:3619extern const char kKeyAppId[];
Guohui Deng07132b4e2021-09-30 16:47:3620
Sean Topping0436b462021-10-12 21:38:5621// If dev mode is enabled, kDevModeOrigin will be set with origin url
22extern const char kEnableDevMode[];
23extern const char kDevModeOrigin[];
24
Sean Topping0436b462021-10-12 21:38:5625// Permit subscription to platform system gesture events?
26extern const char kEnableSystemGestures[];
27
28// Enables window APIs for the webpage (show/hide, etc.)
29extern const char kEnableWindowControls[];
30
31// Enable mojo connection for the settings UI.
32extern const char kEnableSettingsUiMojo[];
33
34// Disable blink background tab timer throttling for making sure application in
35// in mini tile mode runs smoothly.
36extern const char kDisableBackgroundTabTimerThrottle[];
37
38// Sets RenderFrameMediaPlaybackOptions::kIsBackgroundMediaSuspendEnabled to
39// false.
40extern const char kDisableBackgroundSuspend[];
41
42// Enable sending/receiving messages to/from libassistant
43extern const char kEnableAssistantMessagePipe[];
44
45// Enable a standalone demo app to control privileged features.
46extern const char kEnableDemoStandaloneMode[];
47
Vigen Issahhanjand37835a52022-05-16 21:35:0648// Cast Core constants for ApplicationConfig.extra_features.
49extern const char kCastCoreRendererFeatures[];
50extern const char kCastCoreEnforceFeaturePermissions[];
51extern const char kCastCoreFeaturePermissions[];
52extern const char kCastCoreFeaturePermissionOrigins[];
Vigen Issahhanjan012b21a2024-03-29 22:22:2153extern const char kCastCoreAllowMediaAccess[];
54extern const char kCastCoreForce720p[];
Vigen Issahhanjand37835a52022-05-16 21:35:0655extern const char kCastCoreIsAudioOnly[];
Vigen Issahhanjan12c968f2022-07-15 01:58:4956extern const char kCastCoreIsRemoteControlMode[];
Vigen Issahhanjan012b21a2024-03-29 22:22:2157extern const char kCastCoreLogJsConsoleMessages[];
58extern const char kCastCoreTurnOnScreen[];
Vigen Issahhanjandb179592024-11-05 17:38:4359extern const char kCastCoreKeepScreenOn[];
Vigen Issahhanjand37835a52022-05-16 21:35:0660
Erin Yan47845d42025-02-05 21:27:3461extern const char kCastCoreBitstreamAudioCodecsInfo[];
62extern const char kCastCoreCodecs[];
63extern const char kCastCoreSpatialRendering[];
64
Guohui Deng699f9fd2021-05-13 20:46:2765} // namespace feature
66} // namespace chromecast
67
68#endif // CHROMECAST_COMMON_FEATURE_CONSTANTS_H_