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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl

Issue 2494553002: Rename RTCIceCandidateEvent to RTCPeerConnectionIceEvent and expose. (Closed)
Patch Set: Update rebase Created 4 years, 1 month 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/peerconnection/RTCPeerConnectionIceEvent.idl
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCIceCandidateEvent.idl b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl
similarity index 80%
rename from third_party/WebKit/Source/modules/peerconnection/RTCIceCandidateEvent.idl
rename to third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl
index a9ce7caedaa35f43ba44ac687930381f39910e0d..646aab54e6b2c2dd0d2a24743585caba6d0f6f46 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCIceCandidateEvent.idl
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl
@@ -24,7 +24,9 @@
*/
[
- NoInterfaceObject
-] interface RTCIceCandidateEvent : Event {
- readonly attribute RTCIceCandidate candidate;
+ Constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict)
+] interface RTCPeerConnectionIceEvent : Event {
+ readonly attribute RTCIceCandidate? candidate;
+ // TODO(lunalu): add nullable url attribute here:
+ // https://rawgit.com/w3c/webrtc-pc/master/webrtc.html#rtcpeerconnectioniceevent
};

Powered by Google App Engine
This is Rietveld 408576698