display_features.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // 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. #ifndef UI_DISPLAY_DISPLAY_FEATURES_H_
  5. #define UI_DISPLAY_DISPLAY_FEATURES_H_
  6. #include "base/feature_list.h"
  7. #include "build/chromeos_buildflags.h"
  8. #include "ui/display/display_export.h"
  9. namespace display {
  10. namespace features {
  11. #if BUILDFLAG(IS_CHROMEOS_ASH)
  12. DISPLAY_EXPORT extern const base::Feature kRoundedDisplay;
  13. DISPLAY_EXPORT bool IsRoundedDisplayEnabled();
  14. DISPLAY_EXPORT extern const base::Feature kUseHDRTransferFunction;
  15. #endif
  16. DISPLAY_EXPORT extern const base::Feature kListAllDisplayModes;
  17. DISPLAY_EXPORT bool IsListAllDisplayModesEnabled();
  18. DISPLAY_EXPORT extern const base::Feature kEnableHardwareMirrorMode;
  19. DISPLAY_EXPORT bool IsHardwareMirrorModeEnabled();
  20. DISPLAY_EXPORT extern const base::Feature kRequireHdcpKeyProvisioning;
  21. DISPLAY_EXPORT bool IsHdcpKeyProvisioningRequired();
  22. } // namespace features
  23. } // namespace display
  24. #endif // UI_DISPLAY_DISPLAY_FEATURES_H_