diff options
author | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-04 17:12:04 +0000 |
---|---|---|
committer | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-04 17:12:04 +0000 |
commit | f6f8283f35f39c9d565aa75f8e347eb90ac89bec (patch) | |
tree | d51063b60cb8ff2522e39627a795bf1dc905ae09 /ui/base/ui_base_switches.h | |
parent | f50ebe52e0f92fa62d5ce9859ccedc583f79f640 (diff) | |
download | chromium_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.h | 3 |
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[]; |