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

Unified Diff: Source/platform/graphics/media/MediaPlayer.h

Issue 203213008: Move deferred loading logic from WebMediaPlayerClientImpl to HTMLMediaElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing semicolon Created 6 years, 9 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 | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/media/MediaPlayer.h
diff --git a/Source/platform/graphics/media/MediaPlayer.h b/Source/platform/graphics/media/MediaPlayer.h
index 347f31a391e2ed72ea2482b8236a655a8510730c..ec5a43ecdb73a0bc942e26a105fffee6647a2bed 100644
--- a/Source/platform/graphics/media/MediaPlayer.h
+++ b/Source/platform/graphics/media/MediaPlayer.h
@@ -58,8 +58,6 @@ typedef int GC3Dint;
class MediaPlayerClient {
public:
- enum CORSMode { Unspecified, Anonymous, UseCredentials };
-
virtual ~MediaPlayerClient() { }
// the network state has changed
@@ -92,8 +90,6 @@ public:
// the movie size has changed
virtual void mediaPlayerSizeChanged() = 0;
- virtual CORSMode mediaPlayerCORSMode() const = 0;
-
virtual void mediaPlayerSetWebLayer(blink::WebLayer*) = 0;
virtual void mediaPlayerSetOpaque(bool) = 0;
@@ -116,9 +112,7 @@ public:
MediaPlayer() { }
virtual ~MediaPlayer() { }
- virtual void load(blink::WebMediaPlayer::LoadType, const String& url) = 0;
-
- virtual void prepareToPlay() = 0;
+ virtual void load(blink::WebMediaPlayer::LoadType, const String& url, blink::WebMediaPlayer::CORSMode) = 0;
virtual void play() = 0;
virtual void pause() = 0;
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698