blob: 08cdc0a1415463e45992eaab80e84d44318f2cce [file]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FUCHSIA_WEB_WEBENGINE_FEATURES_H_
#define FUCHSIA_WEB_WEBENGINE_FEATURES_H_
#include "base/feature_list.h"
namespace features {
BASE_FEATURE(kHandleMemoryPressureInRenderer,
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the use of video codecs that cannot be hardware-accelerated.
// When disabled, software video decoders are still available in case they are
// needed as a fallback due to a hardware decoder failure. Does not affect
// WebRTC; see media::kExposeSwDecodersToWebRTC and
// media::kUseDecoderStreamForWebRTC.
BASE_FEATURE(kEnableSoftwareOnlyVideoCodecs,
"SoftwareOnlyVideoCodecs",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the use of VP9 decoding for Cast Mirroring.
BASE_FEATURE(kEnableCastMirroringVP9Decoding,
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables keyboard input handling via the fuchsia.ui.input3.Keyboard interface.
BASE_FEATURE(kKeyboardInput,
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables use of virtual keyboards via the
// fuchsia.input.virtualkeyboard.Controller interface.
BASE_FEATURE(kVirtualKeyboard,
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables origin trials support.
BASE_FEATURE(kOriginTrials, base::FEATURE_DISABLED_BY_DEFAULT);
} // namespace features
#endif // FUCHSIA_WEB_WEBENGINE_FEATURES_H_