summaryrefslogtreecommitdiffstats
path: root/chromium/ui/gfx/switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gfx/switches.cc')
-rw-r--r--chromium/ui/gfx/switches.cc13
1 files changed, 10 insertions, 3 deletions
diff --git a/chromium/ui/gfx/switches.cc b/chromium/ui/gfx/switches.cc
index 2f2eb9a3b82..2441a1483f5 100644
--- a/chromium/ui/gfx/switches.cc
+++ b/chromium/ui/gfx/switches.cc
@@ -6,11 +6,21 @@
namespace switches {
+// The ImageSkia looks up the resource pack with the closest available scale
+// factor instead of the actual device scale factor and then rescale on
+// ImageSkia side. This switch disables this feature.
+const char kDisableArbitraryScaleFactorInImageSkia[] =
+ "disable-arbitrary-scale-factor-in-image-skia";
+
// 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";
+// Uses the HarfBuzz port of RenderText on all platforms.
+const char kEnableHarfBuzzRenderText[] =
+ "enable-harfbuzz-rendertext";
+
// Enable text glyphs to have X-positions that aren't snapped to the pixel grid
// in webkit renderers.
const char kEnableWebkitTextSubpixelPositioning[] =
@@ -19,7 +29,4 @@ const char kEnableWebkitTextSubpixelPositioning[] =
// Overrides the device scale factor for the browser UI and the contents.
const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
-// Enables/Disables High DPI support (windows)
-const char kHighDPISupport[] = "high-dpi-support";
-
} // namespace switches