diff options
Diffstat (limited to 'ui/gfx/switches.cc')
-rw-r--r-- | ui/gfx/switches.cc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ui/gfx/switches.cc b/ui/gfx/switches.cc new file mode 100644 index 0000000..f25ea9b --- /dev/null +++ b/ui/gfx/switches.cc @@ -0,0 +1,26 @@ +// Copyright 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "ui/gfx/switches.h" + +namespace gfx { +namespace switches { + +// Whether or not ImageSkiaOperations methods can scale one of images +// if they don't have the same scale factor. +const char kDisableScalingInImageSkiaOperations[] = + "disable-scaling-in-image-skia-operations"; + +// Let text glyphs have X-positions that aren't snapped to the pixel grid in +// the browser UI. +const char kEnableBrowserTextSubpixelPositioning[] = + "enable-browser-text-subpixel-positioning"; + +// Enable text glyphs to have X-positions that aren't snapped to the pixel grid +// in webkit renderers. +const char kEnableWebkitTextSubpixelPositioning[] = + "enable-webkit-text-subpixel-positioning"; + +} // namespace switches +} // namespace gfx |