blob: 45c47c693690b54ba111c208d1b4fe65758ab496 [file] [log] [blame]
Avi Drissman3e1a26c2022-09-15 20:26:031// Copyright 2012 The Chromium Authors
[email protected]0d3b9dd2012-11-14 04:14:482// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef UI_GFX_SWITCHES_H_
6#define UI_GFX_SWITCHES_H_
7
Christopher Cameron0b2da252021-06-29 23:40:498#include "base/feature_list.h"
ananta8150ea62014-10-10 22:57:599#include "build/build_config.h"
ccameronfd83a512017-06-16 21:26:1210#include "ui/gfx/switches_export.h"
[email protected]0d3b9dd2012-11-14 04:14:4811
[email protected]0d3b9dd2012-11-14 04:14:4812namespace switches {
13
Peter Kastingc6fd7f2d2020-03-10 21:21:0814GFX_SWITCHES_EXPORT extern const char kAnimationDurationScale[];
Malay Keshavf00044b2018-05-15 17:30:3015GFX_SWITCHES_EXPORT extern const char kDisableFontSubpixelPositioning[];
Sergey Ulanov5c3bff62019-04-20 07:53:2616GFX_SWITCHES_EXPORT extern const char kEnableNativeGpuMemoryBuffers[];
Peter Kastingc6fd7f2d2020-03-10 21:21:0817GFX_SWITCHES_EXPORT extern const char kForcePrefersReducedMotion[];
18GFX_SWITCHES_EXPORT extern const char kHeadless[];
Maksim Sisov7b599232021-11-04 20:41:3819
Xiaohan Wangd1b0e6b2022-01-20 21:40:2020#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
Maksim Sisov7b599232021-11-04 20:41:3821GFX_SWITCHES_EXPORT extern const char kX11Display[];
22GFX_SWITCHES_EXPORT extern const char kNoXshm[];
23#endif
24
[email protected]0d3b9dd2012-11-14 04:14:4825} // namespace switches
[email protected]0d3b9dd2012-11-14 04:14:4826
Christopher Cameron0b2da252021-06-29 23:40:4927namespace features {
Christopher Cameron2a74a3ca2021-07-03 22:14:5728GFX_SWITCHES_EXPORT extern const base::Feature kOddHeightMultiPlanarBuffers;
magchen978c82c2022-03-14 22:23:4529GFX_SWITCHES_EXPORT extern const base::Feature kOddWidthMultiPlanarBuffers;
Christopher Cameron0b2da252021-06-29 23:40:4930} // namespace features
31
[email protected]0d3b9dd2012-11-14 04:14:4832#endif // UI_GFX_SWITCHES_H_