summaryrefslogtreecommitdiffstats
path: root/ui/base/ui_base_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/ui_base_switches.cc')
-rw-r--r--ui/base/ui_base_switches.cc18
1 files changed, 11 insertions, 7 deletions
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index 67ef448..773c441 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -8,28 +8,32 @@ namespace switches {
// The default device scale factor to apply to the browser UI and
// the contents in the absence of a viewport meta tag.
-const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor";
+const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor";
// Enable touch screen calibration.
-const char kDisableTouchCalibration[] = "disable-touch-calibration";
+const char kDisableTouchCalibration[] = "disable-touch-calibration";
+
+// Let text glyphs have X-positions that aren't snapped to the pixel grid.
+const char kEnableTextSubpixelPositioning[] =
+ "enable-text-subpixel-positioning";
// Enable support for touch events.
-const char kEnableTouchEvents[] = "enable-touch-events";
+const char kEnableTouchEvents[] = "enable-touch-events";
// The language file that we want to try to open. Of the form
// language[-country] where language is the 2 letter code from ISO-639.
-const char kLang[] = "lang";
+const char kLang[] = "lang";
// Load the locale resources from the given path. When running on Mac/Unix the
// path should point to a locale.pak file.
-const char kLocalePak[] = "locale_pak";
+const char kLocalePak[] = "locale_pak";
// Disable ui::MessageBox. This is useful when running as part of scripts that
// do not have a user interface.
-const char kNoMessageBox[] = "no-message-box";
+const char kNoMessageBox[] = "no-message-box";
// Enables UI changes that make it easier to use with a touchscreen.
-const char kTouchOptimizedUI[] = "touch-optimized-ui";
+const char kTouchOptimizedUI[] = "touch-optimized-ui";
#if defined(OS_MACOSX)