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

Unified Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 284863002: Add type maps from blink name to html name (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use implementation name Created 6 years, 7 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 | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
index a88c32fede4534ee8f5e805a53e21ab1d9dd43d5..7f8c39483fc3c2160780d2498cdb6e9fbeca5c20 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -14,6 +14,37 @@ import 'dart:_blink' as _blink;
+// FIXME: Can we make this private?
+const web_audioBlinkMap = const {
+ 'AnalyserNode': AnalyserNode,
+ 'AudioBuffer': AudioBuffer,
+ 'AudioBufferSourceNode': AudioBufferSourceNode,
+ 'AudioContext': AudioContext,
+ 'AudioDestinationNode': AudioDestinationNode,
+ 'AudioListener': AudioListener,
+ 'AudioNode': AudioNode,
+ 'AudioParam': AudioParam,
+ 'AudioProcessingEvent': AudioProcessingEvent,
+ 'AudioSourceNode': AudioSourceNode,
+ 'BiquadFilterNode': BiquadFilterNode,
+ 'ChannelMergerNode': ChannelMergerNode,
+ 'ChannelSplitterNode': ChannelSplitterNode,
+ 'ConvolverNode': ConvolverNode,
+ 'DelayNode': DelayNode,
+ 'DynamicsCompressorNode': DynamicsCompressorNode,
+ 'GainNode': GainNode,
+ 'MediaElementAudioSourceNode': MediaElementAudioSourceNode,
+ 'MediaStreamAudioDestinationNode': MediaStreamAudioDestinationNode,
+ 'MediaStreamAudioSourceNode': MediaStreamAudioSourceNode,
+ 'OfflineAudioCompletionEvent': OfflineAudioCompletionEvent,
+ 'OfflineAudioContext': OfflineAudioContext,
+ 'OscillatorNode': OscillatorNode,
+ 'PannerNode': PannerNode,
+ 'PeriodicWave': PeriodicWave,
+ 'ScriptProcessorNode': ScriptProcessorNode,
+ 'WaveShaperNode': WaveShaperNode,
+
+};
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698