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

Unified Diff: third_party/WebKit/public/platform/WebMediaPlayerClient.h

Issue 2471373005: Pretend the video has no audio track if it is playing as part of autoplay muted. (Closed)
Patch Set: Created 4 years, 1 month 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 | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebMediaPlayerClient.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayerClient.h b/third_party/WebKit/public/platform/WebMediaPlayerClient.h
index d56d5208363a787966c7037c053e509e0c93dd5d..ab76aa13e4d69ed2ffc50c2a7a9dc456d658f5c3 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayerClient.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayerClient.h
@@ -91,6 +91,9 @@ class BLINK_PLATFORM_EXPORT WebMediaPlayerClient {
virtual void disconnectedFromRemoteDevice() = 0;
virtual void cancelledRemotePlaybackRequest() = 0;
+ // Returns whether the media element is in an autoplay muted state.
+ virtual bool isAutoplayingMuted() = 0;
+
// Warning: This method will destruct the caller.
virtual void requestReload(const WebURL& newUrl) = 0;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698