Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 596df9e766a568b9035e0f83cce4e5e93ceaefc2..3869b21d7fb2f899becf045a092812c359460f85 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -24,15 +24,16 @@ |
#include "media/blink/buffered_data_source_host_impl.h" |
#include "media/blink/encrypted_media_player_support.h" |
#include "media/blink/video_frame_compositor.h" |
+#include "media/blink/webmediaplayer_params.h" |
#include "media/filters/skcanvas_video_renderer.h" |
#include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" |
#include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" |
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
#include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
#include "third_party/WebKit/public/platform/WebMediaPlayerClient.h" |
#include "url/gurl.h" |
namespace blink { |
+class WebGraphicsContext3D; |
class WebLocalFrame; |
} |
@@ -53,7 +54,6 @@ class MediaLog; |
class VideoFrameCompositor; |
class WebAudioSourceProviderImpl; |
class WebMediaPlayerDelegate; |
-class WebMediaPlayerParams; |
class WebTextTrackImpl; |
// The canonical implementation of blink::WebMediaPlayer that's backed by |
@@ -275,7 +275,8 @@ class MEDIA_EXPORT WebMediaPlayerImpl |
base::WeakPtr<WebMediaPlayerDelegate> delegate_; |
- base::Callback<void(const base::Closure&)> defer_load_cb_; |
+ WebMediaPlayerParams::DeferLoadCB defer_load_cb_; |
+ WebMediaPlayerParams::Context3DCB context_3d_cb_; |
// Factories for supporting video accelerators. May be null. |
scoped_refptr<GpuVideoAcceleratorFactories> gpu_factories_; |