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

Unified Diff: content/shell/renderer/test_runner/WebPermissions.h

Issue 222973003: Conversion of content_shell target to use WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some TODOs 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: content/shell/renderer/test_runner/WebPermissions.h
diff --git a/content/shell/renderer/test_runner/WebPermissions.h b/content/shell/renderer/test_runner/WebPermissions.h
index 724dc58982f241b0108fba834de768eb975aa580..2ccc8eb552cb5b6226d3b08d80302e165477f6f1 100644
--- a/content/shell/renderer/test_runner/WebPermissions.h
+++ b/content/shell/renderer/test_runner/WebPermissions.h
@@ -19,12 +19,22 @@ public:
// Override WebPermissionClient methods.
// TODO(jam): remove all these methods after Blink rolls.
- virtual bool allowImage(blink::WebFrame*, bool enabledPerSettings, const blink::WebURL& imageURL);
- virtual bool allowScriptFromSource(blink::WebFrame*, bool enabledPerSettings, const blink::WebURL& scriptURL);
- virtual bool allowStorage(blink::WebFrame*, bool local);
- virtual bool allowPlugins(blink::WebFrame*, bool enabledPerSettings);
- virtual bool allowDisplayingInsecureContent(blink::WebFrame*, bool enabledPerSettings, const blink::WebSecurityOrigin&, const blink::WebURL&);
- virtual bool allowRunningInsecureContent(blink::WebFrame*, bool enabledPerSettings, const blink::WebSecurityOrigin&, const blink::WebURL&);
+ virtual bool allowImage(blink::WebLocalFrame*,
+ bool enabledPerSettings,
+ const blink::WebURL& imageURL);
+ virtual bool allowScriptFromSource(blink::WebLocalFrame*,
+ bool enabledPerSettings,
+ const blink::WebURL& scriptURL);
+ virtual bool allowStorage(blink::WebLocalFrame*, bool local);
+ virtual bool allowPlugins(blink::WebLocalFrame*, bool enabledPerSettings);
+ virtual bool allowDisplayingInsecureContent(blink::WebLocalFrame*,
+ bool enabledPerSettings,
+ const blink::WebSecurityOrigin&,
+ const blink::WebURL&);
+ virtual bool allowRunningInsecureContent(blink::WebLocalFrame*,
+ bool enabledPerSettings,
+ const blink::WebSecurityOrigin&,
+ const blink::WebURL&);
virtual bool allowImage(bool enabledPerSettings, const blink::WebURL& imageURL);
virtual bool allowScriptFromSource(bool enabledPerSettings, const blink::WebURL& scriptURL);

Powered by Google App Engine
This is Rietveld 408576698