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

Unified Diff: Source/core/html/HTMLMediaElement.h

Issue 364033003: Eliminate MediaPlayer abstraction(network state) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified the approach as suggested Created 6 years, 5 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 | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 034fac9ef852bbc3dc2c7ef1a53f9deb870aecc2..cf2771529f3c1b8053318ce1027135a0a9e8378f 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -350,7 +350,7 @@ private:
virtual void updateDisplayState() { }
void setReadyState(ReadyState);
- void setNetworkState(MediaPlayer::NetworkState);
+ void setNetworkState(blink::WebMediaPlayer::NetworkState);
virtual void mediaPlayerNetworkStateChanged() OVERRIDE FINAL;
virtual void mediaPlayerReadyStateChanged() OVERRIDE FINAL;
@@ -401,7 +401,7 @@ private:
KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction);
- void mediaLoadingFailed(MediaPlayer::NetworkState);
+ void mediaLoadingFailed(blink::WebMediaPlayer::NetworkState);
// deferred loading (preload=none)
bool loadIsDeferred() const;
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698