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

Unified Diff: chrome/browser/media/android/remote/remote_media_player_bridge.cc

Issue 1580733002: [Android cast] Make the local player exit seeking mode on cast start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename a function to avoid tripping the clang checker Created 4 years, 11 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
« no previous file with comments | « chrome/browser/media/android/remote/remote_media_player_bridge.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/android/remote/remote_media_player_bridge.cc
diff --git a/chrome/browser/media/android/remote/remote_media_player_bridge.cc b/chrome/browser/media/android/remote/remote_media_player_bridge.cc
index 269e395884f739634a6d79ad977f470581f8c900..7d04324c6540a40ea09d9b0f246f0a2be8e67669 100644
--- a/chrome/browser/media/android/remote/remote_media_player_bridge.cc
+++ b/chrome/browser/media/android/remote/remote_media_player_bridge.cc
@@ -165,6 +165,12 @@ void RemoteMediaPlayerBridge::OnCastStopping(JNIEnv* env,
->SwitchToLocalPlayer(player_id());
}
+void RemoteMediaPlayerBridge::OnSeekCompleted(
+ JNIEnv* env,
+ const JavaParamRef<jobject>& obj) {
+ OnSeekComplete();
+}
+
void RemoteMediaPlayerBridge::Pause(bool is_media_related_action) {
// Ignore the pause if it's not from an event that is explicitly telling
// the video to pause. It's possible for Pause() to be called for other
« no previous file with comments | « chrome/browser/media/android/remote/remote_media_player_bridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698