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

Unified Diff: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl

Issue 2415443004: [Blink, RemotePlayback]Split onstatechange to separate events (Closed)
Patch Set: Fixed global-interface-listing test Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl
diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl
index ab6146834efdd187062ffc572c48238338550b36..7942f43f638fdd91832ffb9a46204bf8348bb391 100644
--- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl
+++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl
@@ -17,7 +17,9 @@ callback RemotePlaybackAvailabilityCallback = void(boolean available);
RuntimeEnabled=RemotePlayback
] interface RemotePlayback : EventTarget {
readonly attribute RemotePlaybackState state;
- attribute EventHandler onstatechange;
+ attribute EventHandler onconnecting;
+ attribute EventHandler onconnect;
+ attribute EventHandler ondisconnect;
[CallWith=ScriptState] Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
[CallWith=ScriptState] Promise<void> cancelWatchAvailability(optional long id);

Powered by Google App Engine
This is Rietveld 408576698