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

Unified Diff: chromecast/browser/android/external_video_surface_container_impl.h

Issue 714643002: Pause EME player whose external surface is stolen by another player (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
Index: chromecast/browser/android/external_video_surface_container_impl.h
diff --git a/chromecast/browser/android/external_video_surface_container_impl.h b/chromecast/browser/android/external_video_surface_container_impl.h
index b05b1882960b595d7602af628ada3f64f80cebd8..d87debfaa8abbb14b8f21bfe2d984d5f4fd664c0 100644
--- a/chromecast/browser/android/external_video_surface_container_impl.h
+++ b/chromecast/browser/android/external_video_surface_container_impl.h
@@ -28,6 +28,7 @@ class ExternalVideoSurfaceContainerImpl
int player_id,
const SurfaceCreatedCB& surface_created_cb,
const SurfaceDestroyedCB& surface_destroyed_cb) override;
+ virtual int GetCurrentPlayerId() override;
virtual void ReleaseExternalVideoSurface(int player_id) override;
virtual void OnFrameInfoUpdated() override;
virtual void OnExternalVideoSurfacePositionChanged(

Powered by Google App Engine
This is Rietveld 408576698