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

Unified Diff: Source/web/WebMediaPlayerClientImpl.h

Issue 192013002: Move deferred loading logic from WebMediaPlayerClientImpl to HTMLMediaElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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/web/AssertMatchingEnums.cpp ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebMediaPlayerClientImpl.h
diff --git a/Source/web/WebMediaPlayerClientImpl.h b/Source/web/WebMediaPlayerClientImpl.h
index 31369276fc2807969a6b93f187ae7d500991dd01..862671e6052dd807235099377f620ac1ceb989b2 100644
--- a/Source/web/WebMediaPlayerClientImpl.h
+++ b/Source/web/WebMediaPlayerClientImpl.h
@@ -95,10 +95,9 @@ public:
// MediaPlayer methods:
virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE;
- virtual void load(WebMediaPlayer::LoadType, const WTF::String& url) OVERRIDE;
+ virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMediaPlayer::CORSMode) OVERRIDE;
virtual void play() OVERRIDE;
virtual void pause() OVERRIDE;
- virtual void prepareToPlay() OVERRIDE;
virtual bool supportsSave() const OVERRIDE;
virtual WebCore::IntSize naturalSize() const OVERRIDE;
virtual bool hasVideo() const OVERRIDE;
@@ -138,9 +137,6 @@ public:
private:
explicit WebMediaPlayerClientImpl(WebCore::MediaPlayerClient*);
- void startDelayedLoad();
- void loadInternal();
-
WebCore::HTMLMediaElement& mediaElement() const;
#if OS(ANDROID)
@@ -153,8 +149,6 @@ private:
WebCore::MediaPlayerClient* m_client;
OwnPtr<WebMediaPlayer> m_webMediaPlayer;
- WebCore::KURL m_url;
- bool m_delayingLoad;
WebCore::MediaPlayer::Preload m_preload;
bool m_needsWebLayerForVideo;
double m_rate;
@@ -206,8 +200,6 @@ private:
AudioSourceProviderImpl m_audioSourceProvider;
#endif
-
- WebMediaPlayer::LoadType m_loadType;
};
} // namespace blink
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698