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

Unified Diff: components/test_runner/mock_content_settings_client.h

Issue 1939713003: Dispatch events in isolated worlds, even if script execution is forbidden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 8 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 | « no previous file | components/test_runner/mock_content_settings_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/mock_content_settings_client.h
diff --git a/components/test_runner/mock_content_settings_client.h b/components/test_runner/mock_content_settings_client.h
index 523888c03dd608ae9ea76ea901a39268f8f4424e..c99e8d457605beb62fdf585794435cf09a537ca1 100644
--- a/components/test_runner/mock_content_settings_client.h
+++ b/components/test_runner/mock_content_settings_client.h
@@ -22,21 +22,22 @@ class MockContentSettingsClient : public blink::WebContentSettingsClient {
~MockContentSettingsClient() override;
// blink::WebContentSettingsClient:
- bool allowImage(bool enabledPerSettings,
- const blink::WebURL& imageURL) override;
- bool allowMedia(const blink::WebURL& mediaURL) override;
- bool allowScriptFromSource(bool enabledPerSettings,
- const blink::WebURL& scriptURL) override;
+ bool allowImage(bool enabled_per_settings,
+ const blink::WebURL& image_url) override;
+ bool allowMedia(const blink::WebURL& media_url) override;
+ bool allowScript(bool enabled_per_settings) override;
+ bool allowScriptFromSource(bool enabled_per_settings,
+ const blink::WebURL& script_url) override;
bool allowStorage(bool local) override;
- bool allowPlugins(bool enabledPerSettings) override;
- bool allowDisplayingInsecureContent(bool enabledPerSettings,
- const blink::WebURL&) override;
- bool allowRunningInsecureContent(bool enabledPerSettings,
- const blink::WebSecurityOrigin&,
- const blink::WebURL&) override;
- bool allowAutoplay(bool defaultValue) override;
-
- void SetDelegate(WebTestDelegate*);
+ bool allowPlugins(bool enabled_per_settings) override;
+ bool allowDisplayingInsecureContent(bool enabled_per_settings,
+ const blink::WebURL& url) override;
+ bool allowRunningInsecureContent(bool enabled_per_settings,
+ const blink::WebSecurityOrigin& context,
+ const blink::WebURL& url) override;
+ bool allowAutoplay(bool default_value) override;
+
+ void SetDelegate(WebTestDelegate* delegate);
private:
WebTestDelegate* delegate_;
« no previous file with comments | « no previous file | components/test_runner/mock_content_settings_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698