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

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: 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: 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..ff741d82db180726ced517ce387964876b5b4fdd 100644
--- a/android_webview/native/external_video_surface_container_impl.h
+++ b/android_webview/native/external_video_surface_container_impl.h
@@ -27,6 +27,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