| Index: Source/core/html/HTMLMediaElement.h
|
| diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
|
| index 7c0acbcd7817fab0558cacc6cfd06f04c3344f78..216ef373b0b021dda50ca3f2930185c32766aef0 100644
|
| --- a/Source/core/html/HTMLMediaElement.h
|
| +++ b/Source/core/html/HTMLMediaElement.h
|
| @@ -110,6 +110,9 @@ public:
|
|
|
| bool isActive() const { return m_active; }
|
|
|
| + bool hasRemoteRoutes() const { return m_remoteRoutesAvailable; }
|
| + bool isPlayingRemotely() const { return m_playingRemotely; }
|
| +
|
| // error state
|
| PassRefPtrWillBeRawPtr<MediaError> error() const;
|
|
|
| @@ -150,6 +153,8 @@ public:
|
| void setLoop(bool b);
|
| void play();
|
| void pause();
|
| + void requestRemotePlayback();
|
| + void requestRemotePlaybackControl();
|
|
|
| // statistics
|
| unsigned webkitAudioDecodedByteCount() const;
|
| @@ -262,6 +267,10 @@ public:
|
| bool closedCaptionsVisible() const;
|
| void setClosedCaptionsVisible(bool);
|
|
|
| + void remoteRouteAvailabilityChanged(bool);
|
| + void connectedToRemoteDevice();
|
| + void disconnectedFromRemoteDevice();
|
| +
|
| MediaControls* mediaControls() const;
|
|
|
| void sourceWasRemoved(HTMLSourceElement*);
|
| @@ -578,6 +587,8 @@ private:
|
| bool m_tracksAreReady : 1;
|
| bool m_haveVisibleTextTrack : 1;
|
| bool m_processingPreferenceChange : 1;
|
| + bool m_remoteRoutesAvailable : 1;
|
| + bool m_playingRemotely : 1;
|
| #if ENABLE(OILPAN)
|
| bool m_isFinalizing : 1;
|
| bool m_closeMediaSourceWhenFinalizing : 1;
|
|
|