blob: bbe1b07aa4a2ed7dca6b5166008b419b33dff2a1 [file] [log] [blame]
Ahmed Fakhry15d707e2019-02-22 23:54:211// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "ui/display/display_features.h"
6
7namespace display {
8namespace features {
9
Miguel Casas8821b0982020-07-02 12:28:4910#if defined(OS_CHROMEOS)
11// Enables using HDR transfer function if the monitor says it supports it.
12const base::Feature kUseHDRTransferFunction{"UseHDRTransferFunction",
13 base::FEATURE_DISABLED_BY_DEFAULT};
14#endif
15
Ahmed Fakhry15d707e2019-02-22 23:54:2116// This features allows listing all display modes of external displays in the
17// display settings and setting any one of them exactly as requested, which can
18// be very useful for debugging and development purposes.
19const base::Feature kListAllDisplayModes = {"ListAllDisplayModes",
Bailey Berro77d415472020-06-12 17:39:1020 base::FEATURE_ENABLED_BY_DEFAULT};
Ahmed Fakhry15d707e2019-02-22 23:54:2121
22bool IsListAllDisplayModesEnabled() {
23 return base::FeatureList::IsEnabled(kListAllDisplayModes);
24}
25
26} // namespace features
27} // namespace display