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

Side by Side Diff: Source/modules/mediastream/RTCPeerConnection.idl

Issue 22581002: Use EventHandler type instead of EventListener for event handler attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 [StrictTypeChecking, RaisesException] void removeStream(MediaStream stream); 62 [StrictTypeChecking, RaisesException] void removeStream(MediaStream stream);
63 63
64 void getStats(RTCStatsCallback successCallback, [Default=Undefined] optional MediaStreamTrack selector); 64 void getStats(RTCStatsCallback successCallback, [Default=Undefined] optional MediaStreamTrack selector);
65 65
66 [RaisesException] RTCDataChannel createDataChannel([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString label, optional Dictionary options); 66 [RaisesException] RTCDataChannel createDataChannel([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString label, optional Dictionary options);
67 67
68 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); 68 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track);
69 69
70 [RaisesException] void close(); 70 [RaisesException] void close();
71 71
72 attribute EventListener onnegotiationneeded; 72 attribute EventHandler onnegotiationneeded;
73 attribute EventListener onicecandidate; 73 attribute EventHandler onicecandidate;
74 attribute EventListener onsignalingstatechange; 74 attribute EventHandler onsignalingstatechange;
75 attribute EventListener onaddstream; 75 attribute EventHandler onaddstream;
76 attribute EventListener onremovestream; 76 attribute EventHandler onremovestream;
77 attribute EventListener oniceconnectionstatechange; 77 attribute EventHandler oniceconnectionstatechange;
78 attribute EventListener ondatachannel; 78 attribute EventHandler ondatachannel;
79 }; 79 };
80 80
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCDataChannel.idl ('k') | Source/modules/notifications/Notification.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698