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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 1906533002: Add 'autoplay' content settings and expose it to Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.h
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.h b/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
index 96fd156707f0a55b7438c60c34e570687d535fd7..ff6b6f44b6e86603416cf30b5d02e9974e484e27 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
@@ -144,6 +144,7 @@ public:
bool allowMedia(const KURL& mediaURL) override;
bool allowDisplayingInsecureContent(bool enabledPerSettings, const KURL&) override;
bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, const KURL&) override;
+ bool allowAutoplay(bool defaultValue) override;
void didNotAllowScript() override;
void didNotAllowPlugins() override;
void didUseKeygen() override;

Powered by Google App Engine
This is Rietveld 408576698