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

Unified Diff: webkit/media/media_stream_client.h

Issue 10382048: create WebMediaPlayer based on URL (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/media/video_frame_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/media_stream_client.h
===================================================================
--- webkit/media/media_stream_client.h (revision 135772)
+++ webkit/media/media_stream_client.h (working copy)
@@ -10,16 +10,21 @@
class GURL;
namespace media {
+class MessageLoopFactory;
class VideoDecoder;
-class MessageLoopFactory;
}
namespace webkit_media {
+class VideoFrameProvider;
+
// Define an interface for media stream client to get some information about
// the media stream.
class MediaStreamClient {
public:
+ virtual bool IsMediaStream(const WebKit::WebURL url) = 0;
+ virtual scoped_refptr<webkit_media::VideoFrameProvider> GetVideoFrameProvider(
+ const GURL& url, const base::Closure& paint_cb) = 0;
virtual scoped_refptr<media::VideoDecoder> GetVideoDecoder(
const GURL& url,
media::MessageLoopFactory* message_loop_factory) = 0;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/media/video_frame_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698