summaryrefslogtreecommitdiffstats
path: root/ui/base/ui_base_switches.h
diff options
context:
space:
mode:
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-04 17:12:04 +0000
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-04 17:12:04 +0000
commitf6f8283f35f39c9d565aa75f8e347eb90ac89bec (patch)
treed51063b60cb8ff2522e39627a795bf1dc905ae09 /ui/base/ui_base_switches.h
parentf50ebe52e0f92fa62d5ce9859ccedc583f79f640 (diff)
downloadchromium_src-f6f8283f35f39c9d565aa75f8e347eb90ac89bec.zip
chromium_src-f6f8283f35f39c9d565aa75f8e347eb90ac89bec.tar.gz
chromium_src-f6f8283f35f39c9d565aa75f8e347eb90ac89bec.tar.bz2
Split default font settings into webkit and browser settings having separate flags to enable subpixel positioning.
Allows separately specifying subpixel positioning for webkit and browser UI. Adds a flag in about:flags to enable subpixel positioning in web pages. BUG=145020 TEST=Run chrome with Webkit text subpixel positioning flag enabled and navigate to http://jsfiddle.net/ALd5F/21/, span widths should be non-integer values. Review URL: https://chromiumcodereview.appspot.com/10916055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ui_base_switches.h')
-rw-r--r--ui/base/ui_base_switches.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/base/ui_base_switches.h b/ui/base/ui_base_switches.h
index 2613fe8..0f522ce 100644
--- a/ui/base/ui_base_switches.h
+++ b/ui/base/ui_base_switches.h
@@ -14,10 +14,11 @@ namespace switches {
UI_EXPORT extern const char kEnableBezelTouch[];
UI_EXPORT extern const char kDisableScalingInImageSkiaOperations[];
-UI_EXPORT extern const char kEnableTextSubpixelPositioning[];
+UI_EXPORT extern const char kEnableBrowserTextSubpixelPositioning[];
UI_EXPORT extern const char kEnableTouchCalibration[];
UI_EXPORT extern const char kEnableTouchEvents[];
UI_EXPORT extern const char kEnableViewsTextfield[];
+UI_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[];
UI_EXPORT extern const char kForceDeviceScaleFactor[];
UI_EXPORT extern const char kHighlightMissing2xResources[];
UI_EXPORT extern const char kLang[];