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

Unified Diff: media/gpu/android_video_surface_chooser.h

Issue 2883913003: Add multiple destruction callbacks to AndroidOverlay. (Closed)
Patch Set: rebased.... though i got not conflicts? Created 3 years, 7 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: media/gpu/android_video_surface_chooser.h
diff --git a/media/gpu/android_video_surface_chooser.h b/media/gpu/android_video_surface_chooser.h
index b8d4a0524d836dacbdaed3a2e11a7ab9ee660219..37105b7dd8215a5f6b008e0dfd2da9b0879e1760 100644
--- a/media/gpu/android_video_surface_chooser.h
+++ b/media/gpu/android_video_surface_chooser.h
@@ -26,11 +26,6 @@ class MEDIA_GPU_EXPORT AndroidVideoSurfaceChooser {
// using it soon, in favor of a SurfaceTexture.
using UseSurfaceTextureCB = base::RepeatingCallback<void(void)>;
- // Callback that mirrors AndroidOverlay::DestroyedCB . The surface
- // that was provided with |overlay| is being destroyed.
- using StopUsingOverlayImmediatelyCB =
- base::RepeatingCallback<void(AndroidOverlay*)>;
-
AndroidVideoSurfaceChooser() {}
virtual ~AndroidVideoSurfaceChooser() {}
@@ -40,7 +35,6 @@ class MEDIA_GPU_EXPORT AndroidVideoSurfaceChooser {
// an empty callback to indicate "no factory".
virtual void Initialize(UseOverlayCB use_overlay_cb,
UseSurfaceTextureCB use_surface_texture_cb,
- StopUsingOverlayImmediatelyCB stop_immediately_cb,
AndroidOverlayFactoryCB initial_factory) = 0;
// Notify us that a new factory has arrived. May be is_null() to indicate
« no previous file with comments | « media/gpu/android_video_decode_accelerator_unittest.cc ('k') | media/gpu/android_video_surface_chooser_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698