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

Unified Diff: webkit/media/webmediaplayer_delegate.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 | « webkit/media/webkit_media.gypi ('k') | webkit/media/webmediaplayer_ms.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_delegate.h
===================================================================
--- webkit/media/webmediaplayer_delegate.h (revision 135772)
+++ webkit/media/webmediaplayer_delegate.h (working copy)
@@ -5,10 +5,11 @@
#ifndef WEBKIT_MEDIA_WEBMEDIAPLAYER_DELEGATE_H_
#define WEBKIT_MEDIA_WEBMEDIAPLAYER_DELEGATE_H_
+namespace WebKit {
+class WebMediaPlayer;
+}
namespace webkit_media {
-class WebMediaPlayerImpl;
-
// An interface to allow a WebMediaPlayerImpl to communicate changes of state
// to objects that need to know.
class WebMediaPlayerDelegate {
@@ -17,13 +18,13 @@
virtual ~WebMediaPlayerDelegate() {}
// The specified player started playing media.
- virtual void DidPlay(WebMediaPlayerImpl* player) {}
+ virtual void DidPlay(WebKit::WebMediaPlayer* player) {}
// The specified player stopped playing media.
- virtual void DidPause(WebMediaPlayerImpl* player) {}
+ virtual void DidPause(WebKit::WebMediaPlayer* player) {}
// The specified player was destroyed. Do not call any methods on it.
- virtual void PlayerGone(WebMediaPlayerImpl* player) {}
+ virtual void PlayerGone(WebKit::WebMediaPlayer* player) {}
};
} // namespace webkit_media
« no previous file with comments | « webkit/media/webkit_media.gypi ('k') | webkit/media/webmediaplayer_ms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698