Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/interfaces/remoteplayback.idl

Issue 2862423002: [RemotePlayback] Added IDL harness WebPlatform test for RemotePlayback API. (Closed)
Patch Set: Added the harness test files back Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 interface HTMLMediaElement : HTMLElement {};
foolip 2017/05/09 15:23:09 These shouldn't be in this file, they should go in
2
3 interface HTMLVideoElement : HTMLMediaElement {};
4
5 enum RemotePlaybackState {
6 "connecting",
7 "connected",
8 "disconnected"
9 };
10
11 callback RemotePlaybackAvailabilityCallback = void(boolean available);
12
13 interface RemotePlayback : EventTarget {
14 readonly attribute RemotePlaybackState state;
15 attribute EventHandler onconnecting;
16 attribute EventHandler onconnect;
17 attribute EventHandler ondisconnect;
18
19 Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback) ;
20 Promise<void> cancelWatchAvailability(optional long id);
21 Promise<void> prompt();
22 };
23
24 partial interface HTMLMediaElement {
25 readonly attribute RemotePlayback remote;
26 attribute boolean disableRemotePlayback;
27 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698