summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 20:20:01 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 20:20:01 +0000
commit433819da3ead5c8ef282c3068c61c8ecfc2e31c7 (patch)
tree7aa109eaf3c5809ea878f84bf2a8873b8c101d5e /chrome/renderer/render_view.h
parent07286bd43719ee728a238ad1cfe1547de9e661d5 (diff)
downloadchromium_src-433819da3ead5c8ef282c3068c61c8ecfc2e31c7.zip
chromium_src-433819da3ead5c8ef282c3068c61c8ecfc2e31c7.tar.gz
chromium_src-433819da3ead5c8ef282c3068c61c8ecfc2e31c7.tar.bz2
Fix api misunderstanding.
BUG=32719 TEST=none Review URL: http://codereview.chromium.org/554145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index c94229c..6d50216 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -262,9 +262,9 @@ class RenderView : public RenderWidget,
return notification_provider_.get();
}
- // Shortcut for calling allowImages(), allowScripts(), allowPlugins().
- void ApplyContentSettings(WebKit::WebFrame* frame,
- const ContentSettings& settings);
+ // Sets the content settings that back allowScripts(), allowImages(), and
+ // allowPlugins().
+ void SetContentSettings(const ContentSettings& settings);
// WebKit::WebWidgetClient
// Most methods are handled by RenderWidget.
@@ -1035,6 +1035,8 @@ class RenderView : public RenderWidget,
HostContentSettings host_content_settings_;
HostZoomLevels host_zoom_levels_;
+ ContentSettings current_content_settings_;
+
// The SessionStorage namespace that we're assigned to has an ID, and that ID
// is passed to us upon creation. WebKit asks for this ID upon first use and
// uses it whenever asking the browser process to allocate new storage areas.