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

Unified Diff: android_webview/native/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: Reuse Java_ExternalVideoSurfaceContainer_destroy() and OnMediaInterrupted() Created 6 years 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: android_webview/native/external_video_surface_container_impl.h
diff --git a/android_webview/native/external_video_surface_container_impl.h b/android_webview/native/external_video_surface_container_impl.h
index 97d233408a10b19627ae0fc2a8e9279aa7f2984a..bb1985fb5685731f655525329062cbf5bc9111c0 100644
--- a/android_webview/native/external_video_surface_container_impl.h
+++ b/android_webview/native/external_video_surface_container_impl.h
@@ -27,7 +27,9 @@ 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 ReleaseCurrentExternalVideoSurface() override;
boliu 2014/12/04 23:33:26 Is this always the same as ReleaseExternalVideoSur
Hugo Holgersson 2014/12/08 16:41:08 Yes. That is true. Actually, ReleaseCurrentExterna
virtual void OnFrameInfoUpdated() override;
virtual void OnExternalVideoSurfacePositionChanged(
int player_id, const gfx::RectF& rect) override;

Powered by Google App Engine
This is Rietveld 408576698