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

Unified Diff: content/public/browser/android/external_video_surface_container.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: player->Release() instead of player->Pause() Created 6 years, 1 month 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: content/public/browser/android/external_video_surface_container.h
diff --git a/content/public/browser/android/external_video_surface_container.h b/content/public/browser/android/external_video_surface_container.h
index 38cbe5987bac76912dcae34ef3502e4e4ffe0f9a..bf359dfa144e4dbbf839d2e180800e8cb585a2bf 100644
--- a/content/public/browser/android/external_video_surface_container.h
+++ b/content/public/browser/android/external_video_surface_container.h
@@ -22,6 +22,7 @@ class CONTENT_EXPORT ExternalVideoSurfaceContainer {
public:
typedef base::Callback<void(int, jobject)> SurfaceCreatedCB;
typedef base::Callback<void(int)> SurfaceDestroyedCB;
+ static const int kAnyPlayer = -2;
// Called when a media player wants to request an external video surface.
// Whenever the surface is created and visible, |surface_created_cb| will be

Powered by Google App Engine
This is Rietveld 408576698