diff options
author | pdr@chromium.org <pdr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-02 19:24:59 +0000 |
---|---|---|
committer | pdr@chromium.org <pdr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-02 19:24:59 +0000 |
commit | 164e7a7f81a837e83900c465d00c2a8f9c33ee37 (patch) | |
tree | a6b66708768b9999d2f54a68826c32f1bbb0a25d /content/child | |
parent | 0fbfa97be52934dffabd9998f6b38daf9efa2dcd (diff) | |
download | chromium_src-164e7a7f81a837e83900c465d00c2a8f9c33ee37.zip chromium_src-164e7a7f81a837e83900c465d00c2a8f9c33ee37.tar.gz chromium_src-164e7a7f81a837e83900c465d00c2a8f9c33ee37.tar.bz2 |
Add a flag for fast text autosizing
This is the third of three patches to add a runtime flag for fast text
autosizing. This patch adds the Content-side plumbing to enable
the Blink-side feature.
This patch depends on https://codereview.chromium.org/25452002 landing.
BUG=302005
Review URL: https://codereview.chromium.org/25454002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226525 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child')
-rw-r--r-- | content/child/runtime_features.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc index d7b6c4a..e075a2d 100644 --- a/content/child/runtime_features.cc +++ b/content/child/runtime_features.cc @@ -140,6 +140,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( if (command_line.HasSwitch(switches::kEnableInputModeAttribute)) WebRuntimeFeatures::enableInputModeAttribute(true); + + if (command_line.HasSwitch(switches::kEnableFastTextAutosizing)) + WebRuntimeFeatures::enableFastTextAutosizing(true); } } // namespace content |