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

Unified Diff: media/blink/webmediaplayer_params.h

Issue 1655083002: Enable SurfaceView fullscreen video on Android with WebMediaPlayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@avda-sv
Patch Set: Created 4 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: media/blink/webmediaplayer_params.h
diff --git a/media/blink/webmediaplayer_params.h b/media/blink/webmediaplayer_params.h
index 9ed1f8218271ed20bded646524675aa074095c87..3efd40b039a990ee50e6888b3fd2ae23c781e3d9 100644
--- a/media/blink/webmediaplayer_params.h
+++ b/media/blink/webmediaplayer_params.h
@@ -28,6 +28,7 @@ namespace media {
class RestartableAudioRendererSink;
class MediaLog;
class MediaPermission;
+class SurfaceManager;
// Holds parameters for constructing WebMediaPlayerImpl without having
// to plumb arguments through various abstraction layers.
@@ -55,7 +56,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
const Context3DCB& context_3d,
const AdjustAllocatedMemoryCB& adjust_allocated_memory_cb,
MediaPermission* media_permission,
- blink::WebContentDecryptionModule* initial_cdm);
+ blink::WebContentDecryptionModule* initial_cdm,
+ SurfaceManager* surface_manager);
~WebMediaPlayerParams();
@@ -95,6 +97,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
return adjust_allocated_memory_cb_;
}
+ SurfaceManager* surface_manager() const { return surface_manager_; }
+
private:
DeferLoadCB defer_load_cb_;
scoped_refptr<RestartableAudioRendererSink> audio_renderer_sink_;
@@ -108,6 +112,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
// TODO(xhwang): Remove after prefixed EME API support is removed.
MediaPermission* media_permission_;
blink::WebContentDecryptionModule* initial_cdm_;
+ SurfaceManager* surface_manager_;
DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerParams);
};

Powered by Google App Engine
This is Rietveld 408576698