summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 17:33:24 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 17:33:24 +0000
commit17c85709a15d3c3e6fa9d3ae9db23f654018e20e (patch)
treebd18de0898369eabdb4a214efc0e02e494c92da0 /webkit/glue/webpreferences.cc
parent0b695059cdb06baaf7c1eb75ee9dda4341dde4ed (diff)
downloadchromium_src-17c85709a15d3c3e6fa9d3ae9db23f654018e20e.zip
chromium_src-17c85709a15d3c3e6fa9d3ae9db23f654018e20e.tar.gz
chromium_src-17c85709a15d3c3e6fa9d3ae9db23f654018e20e.tar.bz2
Add WebKitCaretBrowsingEnabled support to
overridePreferences in test_shell. This is the companion patch to http://trac.webkit.org/changeset/68191 , which adds this to DRT. This depends on a webkit DEPS roll. Review URL: http://codereview.chromium.org/3442014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.cc')
-rw-r--r--webkit/glue/webpreferences.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 379ceb7..ddf4ddb 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -59,6 +59,7 @@ void WebPreferences::Apply(WebView* web_view) const {
WebRuntimeFeatures::enableDatabase(
WebRuntimeFeatures::isDatabaseEnabled() || databases_enabled);
settings->setOfflineWebApplicationCacheEnabled(application_cache_enabled);
+ settings->setCaretBrowsingEnabled(caret_browsing_enabled);
settings->setHyperlinkAuditingEnabled(hyperlink_auditing_enabled);
// This setting affects the behavior of links in an editable region: