| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| index 8df7174c93444360f30f4178a670227258e2e2f5..0cb890080ddf345614d414f42c4e50811d70413b 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| @@ -117,7 +117,7 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
| };
|
| void scheduleTextTrackResourceLoad();
|
|
|
| - bool hasRemoteRoutes() const { return m_remoteRoutesAvailable; }
|
| + bool hasRemoteRoutes() const;
|
| bool isPlayingRemotely() const { return m_playingRemotely; }
|
|
|
| // error state
|
| @@ -308,7 +308,9 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
| WebRemotePlaybackClient* remotePlaybackClient() {
|
| return m_remotePlaybackClient;
|
| }
|
| - void setRemotePlaybackClient(WebRemotePlaybackClient*);
|
| + const WebRemotePlaybackClient* remotePlaybackClient() const {
|
| + return m_remotePlaybackClient;
|
| + }
|
|
|
| protected:
|
| HTMLMediaElement(const QualifiedName&, Document&);
|
| @@ -387,7 +389,8 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
| void removeTextTrack(WebInbandTextTrack*) final;
|
| void mediaSourceOpened(WebMediaSource*) final;
|
| void requestSeek(double) final;
|
| - void remoteRouteAvailabilityChanged(bool) final;
|
| + void remoteRouteAvailabilityChanged(bool isRouteAvailable,
|
| + bool isSourceCompatible) final;
|
| void connectedToRemoteDevice() final;
|
| void disconnectedFromRemoteDevice() final;
|
| void cancelledRemotePlaybackRequest() final;
|
| @@ -642,7 +645,6 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
|
|
| bool m_tracksAreReady : 1;
|
| bool m_processingPreferenceChange : 1;
|
| - bool m_remoteRoutesAvailable : 1;
|
| bool m_playingRemotely : 1;
|
| // Whether this element is in overlay fullscreen mode.
|
| bool m_inOverlayFullscreenVideo : 1;
|
|
|