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

Unified Diff: Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl

Issue 16778002: MediaStream API: Changing the device enumeration to be async (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comment fixed Created 7 years, 6 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: Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl
diff --git a/Source/modules/mediastream/RTCDTMFToneChangeEvent.idl b/Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl
similarity index 88%
copy from Source/modules/mediastream/RTCDTMFToneChangeEvent.idl
copy to Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl
index de80edfc60463cfefd6a98d3db6063e4451741a8..ce8932724be091c6fdce9513d69ce76974e9527f 100644
--- a/Source/modules/mediastream/RTCDTMFToneChangeEvent.idl
+++ b/Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl
@@ -23,9 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject,
- ConstructorTemplate=Event
-] interface RTCDTMFToneChangeEvent : Event {
- [InitializedByEventConstructor] readonly attribute DOMString tone;
+callback interface MediaStreamTrackSourcesCallback {
+ boolean handleEvent(sequence<SourceInfo> sources);
};
+

Powered by Google App Engine
This is Rietveld 408576698