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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2468303002: [RemotePlayback] Stop remote playback when disableRemotePlayback is set (Closed)
Patch Set: Rebase, addressed comments 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
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index d8ed05cb71c8e75c4e410a0fc2a7b5d287004250..10170a6e5696c7e8b2b507a27d1e396d03bc0420 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -2351,6 +2351,11 @@ void HTMLMediaElement::requestRemotePlaybackControl() {
webMediaPlayer()->requestRemotePlaybackControl();
}
+void HTMLMediaElement::requestRemotePlaybackStop() {
+ if (webMediaPlayer())
+ webMediaPlayer()->requestRemotePlaybackStop();
+}
+
void HTMLMediaElement::closeMediaSource() {
if (!m_mediaSource)
return;

Powered by Google App Engine
This is Rietveld 408576698