Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 library dart.dom.web_audio; | 1 library dart.dom.web_audio; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_collection-dev' hide deprecated; | 5 import 'dart:_collection-dev' hide deprecated; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
| 10 // DO NOT EDIT | 10 // DO NOT EDIT |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 257 | 257 |
| 258 } | 258 } |
| 259 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 259 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 260 // for details. All rights reserved. Use of this source code is governed by a | 260 // for details. All rights reserved. Use of this source code is governed by a |
| 261 // BSD-style license that can be found in the LICENSE file. | 261 // BSD-style license that can be found in the LICENSE file. |
| 262 | 262 |
| 263 | 263 |
| 264 @DomName('AudioContext') | 264 @DomName('AudioContext') |
| 265 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section | 265 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section |
| 266 @Experimental() | 266 @Experimental() |
| 267 class AudioContext extends EventTarget { | 267 class AudioContext extends EventTarget native "AudioContext,webkitAudioContext" { |
|
sra1
2013/10/18 20:13:24
Should not affect dartium
| |
| 268 // To suppress missing implicit constructor warnings. | 268 // To suppress missing implicit constructor warnings. |
| 269 factory AudioContext._() { throw new UnsupportedError("Not supported"); } | 269 factory AudioContext._() { throw new UnsupportedError("Not supported"); } |
| 270 | 270 |
| 271 @DomName('AudioContext.completeEvent') | 271 @DomName('AudioContext.completeEvent') |
| 272 @DocsEditable() | 272 @DocsEditable() |
| 273 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); | 273 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); |
| 274 | 274 |
| 275 @DomName('AudioContext.AudioContext') | 275 @DomName('AudioContext.AudioContext') |
| 276 @DocsEditable() | 276 @DocsEditable() |
| 277 factory AudioContext() => _create(); | 277 factory AudioContext() => _create(); |
| (...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1392 | 1392 |
| 1393 @DomName('WaveShaperNode.oversample') | 1393 @DomName('WaveShaperNode.oversample') |
| 1394 @DocsEditable() | 1394 @DocsEditable() |
| 1395 String get oversample native "WaveShaperNode_oversample_Getter"; | 1395 String get oversample native "WaveShaperNode_oversample_Getter"; |
| 1396 | 1396 |
| 1397 @DomName('WaveShaperNode.oversample') | 1397 @DomName('WaveShaperNode.oversample') |
| 1398 @DocsEditable() | 1398 @DocsEditable() |
| 1399 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; | 1399 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; |
| 1400 | 1400 |
| 1401 } | 1401 } |
| OLD | NEW |