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

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: Fixed the tests 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 enum RemotePlaybackState {
2 "connecting",
3 "connected",
4 "disconnected"
5 };
6
7 callback RemotePlaybackAvailabilityCallback = void(boolean available);
8
9 interface RemotePlayback : EventTarget {
10 readonly attribute RemotePlaybackState state;
11 attribute EventHandler onconnecting;
12 attribute EventHandler onconnect;
13 attribute EventHandler ondisconnect;
14
15 Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback) ;
16 Promise<void> cancelWatchAvailability(optional long id);
17 Promise<void> prompt();
18 };
19
20 partial interface HTMLMediaElement {
21 readonly attribute RemotePlayback remote;
22 attribute boolean disableRemotePlayback;
23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698