Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index c996f664473cbf2f310bff5497d24a0f16db811c..233ec59cfa96c032d338aa4f96a71999b1c0b973 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -108,6 +108,9 @@ public: |
bool isActive() const { return m_active; } |
+ bool hasRemoteRoutes() const { return m_remoteRoutesAvailable; } |
+ bool isCasting() const { return m_casting; } |
acolwell GONE FROM CHROMIUM
2014/08/05 19:36:34
nit: s/Casting/PlayingRemotely/ since all your oth
aberent
2014/08/22 14:08:34
Done.
|
+ |
// error state |
PassRefPtrWillBeRawPtr<MediaError> error() const; |
@@ -148,6 +151,8 @@ public: |
void setLoop(bool b); |
void play(); |
void pause(); |
+ void requestRemotePlayback(); |
+ void requestRemotePlaybackControl(); |
// statistics |
unsigned webkitAudioDecodedByteCount() const; |
@@ -359,6 +364,9 @@ private: |
virtual void mediaPlayerPlaybackStateChanged() OVERRIDE FINAL; |
virtual void mediaPlayerRequestFullscreen() OVERRIDE FINAL; |
virtual void mediaPlayerRequestSeek(double) OVERRIDE FINAL; |
+ virtual void mediaPlayerRemoteRouteAvailabilityChanged(bool) OVERRIDE FINAL; |
+ virtual void mediaPlayerConnectedToRemoteDevice() OVERRIDE FINAL; |
+ virtual void mediaPlayerDisconnectedFromRemoteDevice() OVERRIDE FINAL; |
virtual void mediaPlayerRepaint() OVERRIDE FINAL; |
virtual void mediaPlayerSizeChanged() OVERRIDE FINAL; |
virtual void mediaPlayerSetWebLayer(blink::WebLayer*) OVERRIDE FINAL; |
@@ -573,6 +581,8 @@ private: |
bool m_tracksAreReady : 1; |
bool m_haveVisibleTextTrack : 1; |
bool m_processingPreferenceChange : 1; |
+ bool m_remoteRoutesAvailable : 1; |
+ bool m_casting : 1; |
acolwell GONE FROM CHROMIUM
2014/08/05 19:36:34
ditto
aberent
2014/08/22 14:08:34
Done.
|
#if ENABLE(OILPAN) |
bool m_isFinalizing : 1; |
bool m_closeMediaSourceWhenFinalizing : 1; |