switches.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. // Copyright 2012 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_GFX_SWITCHES_H_
  5. #define UI_GFX_SWITCHES_H_
  6. #include "base/feature_list.h"
  7. #include "build/build_config.h"
  8. #include "ui/gfx/switches_export.h"
  9. namespace switches {
  10. GFX_SWITCHES_EXPORT extern const char kAnimationDurationScale[];
  11. GFX_SWITCHES_EXPORT extern const char kDisableFontSubpixelPositioning[];
  12. GFX_SWITCHES_EXPORT extern const char kEnableNativeGpuMemoryBuffers[];
  13. GFX_SWITCHES_EXPORT extern const char kForcePrefersReducedMotion[];
  14. GFX_SWITCHES_EXPORT extern const char kHeadless[];
  15. #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
  16. GFX_SWITCHES_EXPORT extern const char kX11Display[];
  17. GFX_SWITCHES_EXPORT extern const char kNoXshm[];
  18. #endif
  19. } // namespace switches
  20. namespace features {
  21. GFX_SWITCHES_EXPORT extern const base::Feature kOddHeightMultiPlanarBuffers;
  22. GFX_SWITCHES_EXPORT extern const base::Feature kOddWidthMultiPlanarBuffers;
  23. } // namespace features
  24. #endif // UI_GFX_SWITCHES_H_