Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h |
| diff --git a/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h b/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h |
| index 6131d9eb2a93b6c9c915efd8757b43d3a9805d9d..23f942ce88a592daf6717771d70cb76a0c71f793 100644 |
| --- a/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h |
| +++ b/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h |
| @@ -19,10 +19,14 @@ class WebRemotePlaybackClient { |
| virtual void stateChanged(WebRemotePlaybackState) = 0; |
| // Notifies the client of the remote playback device availability change. |
| - virtual void availabilityChanged(bool availability) = 0; |
| + virtual void availabilityChanged(bool isRouteAvailable, |
| + bool isSourceCompatible) = 0; |
|
dcheng
2016/11/08 07:40:00
Let's pass enums instead of bools; it makes the ca
whywhat
2016/11/09 01:38:11
Done.
|
| // Notifies the client that the user cancelled the prompt shown via the API. |
| virtual void promptCancelled() = 0; |
| + |
| + // Returns if the remote playback available for this media element. |
| + virtual bool remotePlaybackAvailable() const = 0; |
| }; |
| } // namespace blink |