diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 21:21:20 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 21:21:20 +0000 |
commit | 6b32470ecee792ab2baf7f2fbb84acdec2afb49c (patch) | |
tree | fe4259ab0a37e23759dbebb6ff04e02cdaf0e7e1 /webkit/glue/webpreferences.cc | |
parent | 1fd456988642f12f398b05b1bcf05d59ecd86c56 (diff) | |
download | chromium_src-6b32470ecee792ab2baf7f2fbb84acdec2afb49c.zip chromium_src-6b32470ecee792ab2baf7f2fbb84acdec2afb49c.tar.gz chromium_src-6b32470ecee792ab2baf7f2fbb84acdec2afb49c.tar.bz2 |
Implement two missing methods on layoutTestController:
- addUserStyleSheet
- setAuthorAndUserStylesEnabled
BUG=24197
BUG=21113
Review URL: http://codereview.chromium.org/1654007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.cc')
-rw-r--r-- | webkit/glue/webpreferences.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc index d6dbf63..f33375e 100644 --- a/webkit/glue/webpreferences.cc +++ b/webkit/glue/webpreferences.cc @@ -50,6 +50,7 @@ void WebPreferences::Apply(WebView* web_view) const { settings->setUserStyleSheetLocation(user_style_sheet_location); else settings->setUserStyleSheetLocation(WebURL()); + settings->setAuthorAndUserStylesEnabled(author_and_user_styles_enabled); settings->setUsesPageCache(uses_page_cache); settings->setDownloadableBinaryFontsEnabled(remote_fonts_enabled); settings->setXSSAuditorEnabled(xss_auditor_enabled); |