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

Unified Diff: chrome/renderer/content_settings_observer.h

Issue 226093007: Convert Chrome usages of WebFrame to WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/renderer/content_settings_observer.h
diff --git a/chrome/renderer/content_settings_observer.h b/chrome/renderer/content_settings_observer.h
index c9dc4bd691cf0f1c47a9b416cec1d37f5353cba1..d94cfc0c1f404ef5718ab5a8e9c825e43427caf9 100644
--- a/chrome/renderer/content_settings_observer.h
+++ b/chrome/renderer/content_settings_observer.h
@@ -50,42 +50,42 @@ class ContentSettingsObserver
// blink::WebPermissionClient implementation.
// TODO(jam): remove all these methods after Blink rolls.
- virtual bool allowDatabase(blink::WebFrame* frame,
+ virtual bool allowDatabase(blink::WebLocalFrame* frame,
const blink::WebString& name,
const blink::WebString& display_name,
unsigned long estimated_size);
- virtual bool allowFileSystem(blink::WebFrame* frame);
- virtual bool allowImage(blink::WebFrame* frame,
+ virtual bool allowFileSystem(blink::WebLocalFrame* frame);
+ virtual bool allowImage(blink::WebLocalFrame* frame,
bool enabled_per_settings,
const blink::WebURL& image_url);
- virtual bool allowIndexedDB(blink::WebFrame* frame,
+ virtual bool allowIndexedDB(blink::WebLocalFrame* frame,
const blink::WebString& name,
const blink::WebSecurityOrigin& origin);
- virtual bool allowPlugins(blink::WebFrame* frame,
+ virtual bool allowPlugins(blink::WebLocalFrame* frame,
bool enabled_per_settings);
- virtual bool allowScript(blink::WebFrame* frame,
+ virtual bool allowScript(blink::WebLocalFrame* frame,
bool enabled_per_settings);
- virtual bool allowScriptFromSource(blink::WebFrame* frame,
+ virtual bool allowScriptFromSource(blink::WebLocalFrame* frame,
bool enabled_per_settings,
const blink::WebURL& script_url);
- virtual bool allowStorage(blink::WebFrame* frame, bool local);
- virtual bool allowReadFromClipboard(blink::WebFrame* frame,
+ virtual bool allowStorage(blink::WebLocalFrame* frame, bool local);
+ virtual bool allowReadFromClipboard(blink::WebLocalFrame* frame,
bool default_value);
- virtual bool allowWriteToClipboard(blink::WebFrame* frame,
+ virtual bool allowWriteToClipboard(blink::WebLocalFrame* frame,
bool default_value);
- virtual bool allowWebComponents(blink::WebFrame* frame, bool);
- virtual bool allowMutationEvents(blink::WebFrame* frame,
+ virtual bool allowWebComponents(blink::WebLocalFrame* frame, bool);
+ virtual bool allowMutationEvents(blink::WebLocalFrame* frame,
bool default_value);
- virtual bool allowPushState(blink::WebFrame* frame);
- virtual void didNotAllowPlugins(blink::WebFrame* frame);
- virtual void didNotAllowScript(blink::WebFrame* frame);
+ virtual bool allowPushState(blink::WebLocalFrame* frame);
+ virtual void didNotAllowPlugins(blink::WebLocalFrame* frame);
+ virtual void didNotAllowScript(blink::WebLocalFrame* frame);
virtual bool allowDisplayingInsecureContent(
- blink::WebFrame* frame,
+ blink::WebLocalFrame* frame,
bool allowed_per_settings,
const blink::WebSecurityOrigin& context,
const blink::WebURL& url);
virtual bool allowRunningInsecureContent(
- blink::WebFrame* frame,
+ blink::WebLocalFrame* frame,
bool allowed_per_settings,
const blink::WebSecurityOrigin& context,
const blink::WebURL& url);

Powered by Google App Engine
This is Rietveld 408576698