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

Unified Diff: webkit/glue/webmediaplayer_impl.h

Issue 7631033: Very early implementation for HTMLMediaElement / Web Audio API integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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: webkit/glue/webmediaplayer_impl.h
===================================================================
--- webkit/glue/webmediaplayer_impl.h (revision 96995)
+++ webkit/glue/webmediaplayer_impl.h (working copy)
@@ -60,6 +60,9 @@
class GURL;
+class AudioRendererImpl;
+class RendererWebAudioSourceProviderImpl;
+
namespace WebKit {
class WebFrame;
}
@@ -103,6 +106,7 @@
// Callers must call |Initialize()| before they can use the object.
WebMediaPlayerImpl(WebKit::WebMediaPlayerClient* client,
media::FilterCollection* collection,
+ AudioRendererImpl* audio_renderer,
media::MessageLoopFactory* message_loop_factory,
MediaStreamClient* media_stream_client,
media::MediaLog* media_log);
@@ -175,6 +179,10 @@
virtual WebKit::WebVideoFrame* getCurrentFrame();
virtual void putCurrentFrame(WebKit::WebVideoFrame* web_video_frame);
+ virtual WebKit::WebAudioSourceProvider* webAudioSourceProvider();
+ RendererWebAudioSourceProviderImpl* audio_source_provider_;
+ scoped_refptr<AudioRendererImpl> audio_renderer_;
+
// TODO(acolwell): Uncomment once WebKit changes are checked in.
// https://bugs.webkit.org/show_bug.cgi?id=64731
//virtual bool sourceAppend(const unsigned char* data, unsigned length);

Powered by Google App Engine
This is Rietveld 408576698