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

Unified Diff: tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate

Issue 12224101: Move RTCPeerConnection to correct location to generate the supported check for (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « tools/dom/templates/html/dart2js/impl_RTCPeerConnection.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
===================================================================
--- tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate (working copy)
+++ tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate (working copy)
@@ -5,6 +5,7 @@
part of $LIBRARYNAME;
$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
+$if DART2JS
factory $CLASSNAME(Map rtcIceServers, [Map mediaConstraints]) {
var constructorName = JS('RtcPeerConnection', 'window[#]',
'${_browserPropertyPrefix}RTCPeerConnection');
@@ -17,6 +18,7 @@
convertDartToNative_SerializedScriptValue(rtcIceServers));
}
}
+$endif
/**
* Checks if Real Time Communication (RTC) APIs are supported and enabled on
« no previous file with comments | « tools/dom/templates/html/dart2js/impl_RTCPeerConnection.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698