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

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

Issue 1414853003: Add options for audio/video autoplay to chrome://settings/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 5716d57c7a9b9c91c32717fd9c40bfa176b52429..dabc472778682d99e27c06245cc2ff64ccdca24b 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
@@ -137,6 +137,7 @@ public:
bool allowPlugins(bool enabledPerSettings) override;
bool allowImage(bool enabledPerSettings, const KURL& imageURL) override;
bool allowMedia(const KURL& mediaURL) override;
+ bool allowMediaAutoplay(bool hidden) override;
bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin*, const KURL&) override;
bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, const KURL&) override;
void didNotAllowScript() override;

Powered by Google App Engine
This is Rietveld 408576698