| Index: third_party/WebKit/LayoutTests/external/wpt/interfaces/remoteplayback.idl
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/interfaces/remoteplayback.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/remoteplayback.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..598bf30b1654d1ad2ae1a6991f4e21edd49eed17
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/interfaces/remoteplayback.idl
|
| @@ -0,0 +1,23 @@
|
| +enum RemotePlaybackState {
|
| + "connecting",
|
| + "connected",
|
| + "disconnected"
|
| +};
|
| +
|
| +callback RemotePlaybackAvailabilityCallback = void(boolean available);
|
| +
|
| +interface RemotePlayback : EventTarget {
|
| + readonly attribute RemotePlaybackState state;
|
| + attribute EventHandler onconnecting;
|
| + attribute EventHandler onconnect;
|
| + attribute EventHandler ondisconnect;
|
| +
|
| + Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
|
| + Promise<void> cancelWatchAvailability(optional long id);
|
| + Promise<void> prompt();
|
| +};
|
| +
|
| +partial interface HTMLMediaElement {
|
| + readonly attribute RemotePlayback remote;
|
| + attribute boolean disableRemotePlayback;
|
| +};
|
|
|