blob: 980c63eff70f9aa5eb1e15923ef63798561088a8 [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_COMMON_FEATURE_CONSTANTS_H_
#define CHROMECAST_COMMON_FEATURE_CONSTANTS_H_
namespace chromecast {
namespace feature {
// TODO(b/187758538): Upstream more Feature Constants here.
// TODO(b/187524799): Remove this feature when the related features are
// deprecated.
extern const char kEnableTrackControlAppRendererFeatureUse[];
// The app can use playready.
extern const char kEnablePlayready[];
extern const char kKeyAppId[];
// Insecure content is allowed for the app.
extern const char kKeyAllowInsecureContent[];
// If dev mode is enabled, kDevModeOrigin will be set with origin url
extern const char kEnableDevMode[];
extern const char kDevModeOrigin[];
// Permit subscription to platform system gesture events?
extern const char kEnableSystemGestures[];
// Enables window APIs for the webpage (show/hide, etc.)
extern const char kEnableWindowControls[];
// Enable mojo connection for the settings UI.
extern const char kEnableSettingsUiMojo[];
// Disable blink background tab timer throttling for making sure application in
// in mini tile mode runs smoothly.
extern const char kDisableBackgroundTabTimerThrottle[];
// Sets RenderFrameMediaPlaybackOptions::kIsBackgroundMediaSuspendEnabled to
// false.
extern const char kDisableBackgroundSuspend[];
// Enable sending/receiving messages to/from libassistant
extern const char kEnableAssistantMessagePipe[];
// Enable a standalone demo app to control privileged features.
extern const char kEnableDemoStandaloneMode[];
// Cast Core constants for ApplicationConfig.extra_features.
extern const char kCastCoreRendererFeatures[];
extern const char kCastCoreEnforceFeaturePermissions[];
extern const char kCastCoreFeaturePermissions[];
extern const char kCastCoreFeaturePermissionOrigins[];
extern const char kCastCoreIsAudioOnly[];
extern const char kCastCoreIsRemoteControlMode[];
} // namespace feature
} // namespace chromecast
#endif // CHROMECAST_COMMON_FEATURE_CONSTANTS_H_