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 
5 #include "build/build_config.h"
6 #include "ui/gfx/switches.h"
7 
8 namespace switches {
9 
10 // Scale factor to apply to every animation duration. Must be >= 0.0. This will
11 // only apply to LinearAnimation and its subclasses.
12 const char kAnimationDurationScale[] = "animation-duration-scale";
13 
14 // Force disables font subpixel positioning. This affects the character glyph
15 // sharpness, kerning, hinting and layout.
16 const char kDisableFontSubpixelPositioning[] =
17     "disable-font-subpixel-positioning";
18 
19 // Disable a NV12 format buffer allocation with
20 // gfx::BufferUsage::SCANOUT_CPU_READ_WRITE usage.
21 const char kDisableYuv420Biplanar[] = "disable-yuv420-biplanar";
22 
23 // Enable native CPU-mappable GPU memory buffer support on Linux.
24 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers";
25 
26 // Forces whether the user desires reduced motion, regardless of system
27 // settings.
28 const char kForcePrefersReducedMotion[] = "force-prefers-reduced-motion";
29 
30 // Run in headless mode, i.e., without a UI or display server dependencies.
31 const char kHeadless[] = "headless";
32 
33 }  // namespace switches
34