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

Side by Side Diff: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Issue 29583004: Make AudioContext work in iOS 7. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: upload again Created 7 years, 2 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * High-fidelity audio programming in the browser. 2 * High-fidelity audio programming in the browser.
3 */ 3 */
4 library dart.dom.web_audio; 4 library dart.dom.web_audio;
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:_collection-dev' hide deprecated; 8 import 'dart:_collection-dev' hide deprecated;
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:html_common'; 10 import 'dart:html_common';
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 } 223 }
224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
225 // for details. All rights reserved. Use of this source code is governed by a 225 // for details. All rights reserved. Use of this source code is governed by a
226 // BSD-style license that can be found in the LICENSE file. 226 // BSD-style license that can be found in the LICENSE file.
227 227
228 228
229 @DomName('AudioContext') 229 @DomName('AudioContext')
230 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section 230 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section
231 @Experimental() 231 @Experimental()
232 class AudioContext extends EventTarget native "AudioContext" { 232 class AudioContext extends EventTarget native "AudioContext,webkitAudioContext" {
233 // To suppress missing implicit constructor warnings. 233 // To suppress missing implicit constructor warnings.
234 factory AudioContext._() { throw new UnsupportedError("Not supported"); } 234 factory AudioContext._() { throw new UnsupportedError("Not supported"); }
235 235
236 @DomName('AudioContext.completeEvent') 236 @DomName('AudioContext.completeEvent')
237 @DocsEditable() 237 @DocsEditable()
238 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 238 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
239 239
240 /// Checks if this type is supported on the current platform. 240 /// Checks if this type is supported on the current platform.
241 static bool get supported => JS('bool', '!!(window.AudioContext || window.webk itAudioContext)'); 241 static bool get supported => JS('bool', '!!(window.AudioContext || window.webk itAudioContext)');
242 242
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1130 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1131 1131
1132 @DomName('WaveShaperNode.curve') 1132 @DomName('WaveShaperNode.curve')
1133 @DocsEditable() 1133 @DocsEditable()
1134 Float32List curve; 1134 Float32List curve;
1135 1135
1136 @DomName('WaveShaperNode.oversample') 1136 @DomName('WaveShaperNode.oversample')
1137 @DocsEditable() 1137 @DocsEditable()
1138 String oversample; 1138 String oversample;
1139 } 1139 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698