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

Unified Diff: client/dom/src/_FactoryProviders.dart

Issue 8873008: Added constructor for AudioContext for dartc and frog (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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: client/dom/src/_FactoryProviders.dart
diff --git a/client/dom/src/_FactoryProviders.dart b/client/dom/src/_FactoryProviders.dart
index 8589e09c77742b3ce9d507ed858899c760da5cf3..ccf83401be0019abc7797af0ef48e1692e103c42 100644
--- a/client/dom/src/_FactoryProviders.dart
+++ b/client/dom/src/_FactoryProviders.dart
@@ -6,6 +6,13 @@
// These factory methods could all live in one factory provider class but dartc
// has a bug (5399939) preventing that.
+class _AudioContextFactoryProvider {
+
+ factory AudioContext() { return create(); }
+
+ static AudioContext create() native;
+}
+
class _FileReaderFactoryProvider {
factory FileReader() { return create(); }
« client/dom/scripts/template_wrapping_dom.js ('K') | « client/dom/scripts/template_wrapping_dom.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698