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

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

Issue 1829923003: [Android,RemotePlayback] Resolve HTMLMediaElement.remote.connect() with false when device is not se… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote-playback-connect
Patch Set: Rebased Created 4 years, 9 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/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 b65411089243d4d66f633664fa6c5ed2919e8c3e..e6e83de80c7d6ba991bc7befd8f67045fe532b17 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -2936,6 +2936,12 @@ void HTMLMediaElement::disconnectedFromRemoteDevice()
remotePlaybackClient()->stateChanged(WebRemotePlaybackState::Disconnected);
}
+void HTMLMediaElement::cancelledRemotePlaybackRequest()
+{
+ if (remotePlaybackClient())
+ remotePlaybackClient()->connectCancelled();
+}
+
// MediaPlayerPresentation methods
void HTMLMediaElement::repaint()
{

Powered by Google App Engine
This is Rietveld 408576698