Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3191)

Unified Diff: chrome/renderer/content_settings_observer.h

Issue 216983003: Chrome side changes to removing WebFrame parameter from WebPermissionClient, since it's redundant n… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: review comments Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/renderer/aw_permission_client.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/content_settings_observer.h
===================================================================
--- chrome/renderer/content_settings_observer.h (revision 260883)
+++ chrome/renderer/content_settings_observer.h (working copy)
@@ -49,6 +49,7 @@
void DidBlockContentType(ContentSettingsType settings_type);
// blink::WebPermissionClient implementation.
+ // TODO(jam): remove all these methods after Blink rolls.
virtual bool allowDatabase(blink::WebFrame* frame,
const blink::WebString& name,
const blink::WebString& display_name,
@@ -89,6 +90,35 @@
const blink::WebSecurityOrigin& context,
const blink::WebURL& url);
+ virtual bool allowDatabase(const blink::WebString& name,
+ const blink::WebString& display_name,
+ unsigned long estimated_size);
+ virtual bool allowFileSystem();
+ virtual bool allowImage(bool enabled_per_settings,
+ const blink::WebURL& image_url);
+ virtual bool allowIndexedDB(const blink::WebString& name,
+ const blink::WebSecurityOrigin& origin);
+ virtual bool allowPlugins(bool enabled_per_settings);
+ virtual bool allowScript(bool enabled_per_settings);
+ virtual bool allowScriptFromSource(bool enabled_per_settings,
+ const blink::WebURL& script_url);
+ virtual bool allowStorage(bool local);
+ virtual bool allowReadFromClipboard(bool default_value);
+ virtual bool allowWriteToClipboard(bool default_value);
+ virtual bool allowWebComponents(bool default_value);
+ virtual bool allowMutationEvents(bool default_value);
+ virtual bool allowPushState();
+ virtual void didNotAllowPlugins();
+ virtual void didNotAllowScript();
+ virtual bool allowDisplayingInsecureContent(
+ bool allowed_per_settings,
+ const blink::WebSecurityOrigin& context,
+ const blink::WebURL& url);
+ virtual bool allowRunningInsecureContent(
+ bool allowed_per_settings,
+ const blink::WebSecurityOrigin& context,
+ const blink::WebURL& url);
+
// This is used for cases when the NPAPI plugins malfunction if used.
bool AreNPAPIPluginsBlocked() const;
« no previous file with comments | « android_webview/renderer/aw_permission_client.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698