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

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

Issue 2850553002: Autoplay: use an autoplay policy setting in Blink. (Closed)
Patch Set: Created 3 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/WebSettingsImpl.h
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.h b/third_party/WebKit/Source/web/WebSettingsImpl.h
index 1a581808f6359f34df7f7c2e11d895b464871707..719ad33dfaf10d16f8ac5d8abbcedc6b2e6cba44 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.h
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.h
@@ -52,6 +52,7 @@ class WEB_EXPORT WebSettingsImpl final : NON_EXPORTED_BASE(public WebSettings) {
bool ViewportEnabled() const override;
void SetAccelerated2dCanvasMSAASampleCount(int) override;
void SetAcceleratedCompositingEnabled(bool) override;
+ void SetAutoplayPolicy(AutoplayPolicy) override;
void SetPreferCompositingToLCDTextEnabled(bool) override;
void SetAccessibilityEnabled(bool) override;
void SetAccessibilityPasswordValuesEnabled(bool) override;
@@ -68,7 +69,6 @@ class WEB_EXPORT WebSettingsImpl final : NON_EXPORTED_BASE(public WebSettings) {
void SetBrowserSideNavigationEnabled(bool) override;
void SetClobberUserAgentInitialScaleQuirk(bool) override;
void SetCookieEnabled(bool) override;
- void SetCrossOriginMediaPlaybackRequiresUserGesture(bool) override;
void SetNavigateOnDragDrop(bool) override;
void SetCursiveFontFamily(const WebString&,
UScriptCode = USCRIPT_COMMON) override;
@@ -117,7 +117,6 @@ class WEB_EXPORT WebSettingsImpl final : NON_EXPORTED_BASE(public WebSettings) {
void SetMainFrameClipsContent(bool) override;
void SetMainFrameResizesAreOrientationChanges(bool) override;
void SetMaxTouchPoints(int) override;
- void SetMediaPlaybackRequiresUserGesture(bool) override;
void SetMediaPlaybackGestureWhitelistScope(const WebString&) override;
void SetPresentationRequiresUserGesture(bool) override;
void SetEmbeddedMediaExperienceEnabled(bool) override;

Powered by Google App Engine
This is Rietveld 408576698