summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/content_settings_observer.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-07 17:06:18 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-07 17:06:18 +0000
commit9a611a900b2fccd740f234ff16fe5520c993b7b2 (patch)
tree2eb8c01776bc84592d2c24f7edf52e91adcb6ab3 /chrome/renderer/content_settings_observer.h
parentc894476c4bc71d15d878f4157c4125423e10cfb2 (diff)
downloadchromium_src-9a611a900b2fccd740f234ff16fe5520c993b7b2.zip
chromium_src-9a611a900b2fccd740f234ff16fe5520c993b7b2.tar.gz
chromium_src-9a611a900b2fccd740f234ff16fe5520c993b7b2.tar.bz2
More work on removing content settings code from src\content.
BUG=76793 Review URL: http://codereview.chromium.org/6928053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/content_settings_observer.h')
-rw-r--r--chrome/renderer/content_settings_observer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/content_settings_observer.h b/chrome/renderer/content_settings_observer.h
index 0cc943f..9221a7f 100644
--- a/chrome/renderer/content_settings_observer.h
+++ b/chrome/renderer/content_settings_observer.h
@@ -14,6 +14,10 @@
class GURL;
+namespace WebKit {
+class WebSecurityOrigin;
+}
+
// Handles blocking content per content settings for each RenderView.
class ContentSettingsObserver
: public RenderViewObserver,
@@ -42,6 +46,9 @@ class ContentSettingsObserver
const WebKit::WebString& display_name,
unsigned long estimated_size);
bool AllowImages(WebKit::WebFrame* frame, bool enabled_per_settings);
+ bool AllowIndexedDB(WebKit::WebFrame* frame,
+ const WebKit::WebString& name,
+ const WebKit::WebSecurityOrigin& origin);
bool AllowPlugins(WebKit::WebFrame* frame, bool enabled_per_settings);
bool AllowScript(WebKit::WebFrame* frame, bool enabled_per_settings);
bool AllowStorage(WebKit::WebFrame* frame, bool local);