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 "ui/gfx/switches.h" 6 7namespace switches { 8 9// The ImageSkia looks up the resource pack with the closest available scale 10// factor instead of the actual device scale factor and then rescale on 11// ImageSkia side. This switch disables this feature. 12const char kDisableArbitraryScaleFactorInImageSkia[] = 13 "disable-arbitrary-scale-factor-in-image-skia"; 14 15// Disables the HarfBuzz port of RenderText on all platforms. 16const char kDisableHarfBuzzRenderText[] = "disable-harfbuzz-rendertext"; 17 18// Enables the HarfBuzz port of RenderText on all platforms. 19const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; 20 21// Enable text glyphs to have X-positions that aren't snapped to the pixel grid 22// in webkit renderers. 23const char kEnableWebkitTextSubpixelPositioning[] = 24 "enable-webkit-text-subpixel-positioning"; 25 26// Overrides the device scale factor for the browser UI and the contents. 27const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; 28 29} // namespace switches 30