diff options
author | johnme@google.com <johnme@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 19:34:41 +0000 |
---|---|---|
committer | johnme@google.com <johnme@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 19:34:41 +0000 |
commit | 5e073c78e35b9553e0c85b5634a902915b04b756 (patch) | |
tree | 1fd1c214f522cd5691754438d62a7a16bb6ded32 /webkit/glue/webpreferences.cc | |
parent | 1d8f73edc86d9f21ffd3c7d6793aa895f27640b7 (diff) | |
download | chromium_src-5e073c78e35b9553e0c85b5634a902915b04b756.zip chromium_src-5e073c78e35b9553e0c85b5634a902915b04b756.tar.gz chromium_src-5e073c78e35b9553e0c85b5634a902915b04b756.tar.bz2 |
Expose WebKit frame flattening setting in WebPreferences.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5194003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.cc')
-rw-r--r-- | webkit/glue/webpreferences.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc index afd41cf..0688f25 100644 --- a/webkit/glue/webpreferences.cc +++ b/webkit/glue/webpreferences.cc @@ -57,6 +57,7 @@ WebPreferences::WebPreferences() hyperlink_auditing_enabled(true), user_style_sheet_enabled(false), author_and_user_styles_enabled(true), + frame_flattening_enabled(false), allow_universal_access_from_file_urls(false), allow_file_access_from_file_urls(false), experimental_webgl_enabled(false), @@ -117,6 +118,8 @@ void WebPreferences::Apply(WebView* web_view) const { // change this, since it would break existing rich text editors. settings->setEditableLinkBehaviorNeverLive(); + settings->setFrameFlatteningEnabled(frame_flattening_enabled); + settings->setFontRenderingModeNormal(); settings->setJavaEnabled(java_enabled); |