display_switches.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright 2014 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_SWITCHES_H_
  5. #define UI_DISPLAY_DISPLAY_SWITCHES_H_
  6. #include "base/feature_list.h"
  7. #include "build/build_config.h"
  8. #include "build/chromeos_buildflags.h"
  9. #include "ui/display/display_export.h"
  10. namespace switches {
  11. // Keep sorted.
  12. DISPLAY_EXPORT extern const char kEnableSoftwareMirroring[];
  13. DISPLAY_EXPORT extern const char kEnsureForcedColorProfile[];
  14. DISPLAY_EXPORT extern const char kForceDeviceScaleFactor[];
  15. DISPLAY_EXPORT extern const char kForceDisplayColorProfile[];
  16. DISPLAY_EXPORT extern const char kForceRasterColorProfile[];
  17. // TODO(kylechar): This overlaps with --screen-config. Unify flags and remove.
  18. DISPLAY_EXPORT extern const char kHostWindowBounds[];
  19. DISPLAY_EXPORT extern const char kScreenConfig[];
  20. DISPLAY_EXPORT extern const char kSecondaryDisplayLayout[];
  21. DISPLAY_EXPORT extern const char kUseFirstDisplayAsInternal[];
  22. #if BUILDFLAG(IS_CHROMEOS_ASH)
  23. DISPLAY_EXPORT extern const char kEnableUnifiedDesktop[];
  24. // TODO(oshima): Remove once all tests are fixed. crbug.com/1225308.
  25. DISPLAY_EXPORT extern const char kRejectSquareDisplay[];
  26. #endif
  27. } // namespace switches
  28. #endif // UI_DISPLAY_DISPLAY_SWITCHES_H_