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

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

Issue 12047054: Deprecating old DOM event APIs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library web_audio; 1 library web_audio;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:html'; 4 import 'dart:html';
5 import 'dart:html_common'; 5 import 'dart:html_common';
6 // DO NOT EDIT 6 // DO NOT EDIT
7 // Auto-generated dart:audio library. 7 // Auto-generated dart:audio library.
8 8
9 9
10 10
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 @DomName('AudioContext.complete') 177 @DomName('AudioContext.complete')
178 @DocsEditable 178 @DocsEditable
179 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 179 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
180 180
181 @DocsEditable 181 @DocsEditable
182 factory AudioContext() => AudioContext._create(); 182 factory AudioContext() => AudioContext._create();
183 183
184 @DocsEditable 184 @DocsEditable
185 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event Target.dispatchEvent') 185 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event Target.dispatchEvent')
186 @deprecated
186 AudioContextEvents get on => 187 AudioContextEvents get on =>
187 new AudioContextEvents(this); 188 new AudioContextEvents(this);
188 189
189 @DomName('AudioContext.activeSourceCount') 190 @DomName('AudioContext.activeSourceCount')
190 @DocsEditable 191 @DocsEditable
191 final int activeSourceCount; 192 final int activeSourceCount;
192 193
193 @DomName('AudioContext.currentTime') 194 @DomName('AudioContext.currentTime')
194 @DocsEditable 195 @DocsEditable
195 final num currentTime; 196 final num currentTime;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 return JS('ScriptProcessorNode', '#.call(#, #, #)', function, this, 305 return JS('ScriptProcessorNode', '#.call(#, #, #)', function, this,
305 bufferSize, numberOfInputChannels); 306 bufferSize, numberOfInputChannels);
306 } else { 307 } else {
307 return JS('ScriptProcessorNode', '#.call(#, #)', function, this, 308 return JS('ScriptProcessorNode', '#.call(#, #)', function, this,
308 bufferSize); 309 bufferSize);
309 } 310 }
310 } 311 }
311 } 312 }
312 313
313 @DocsEditable 314 @DocsEditable
315 @deprecated
314 class AudioContextEvents extends Events { 316 class AudioContextEvents extends Events {
315 @DocsEditable 317 @DocsEditable
316 AudioContextEvents(EventTarget _ptr) : super(_ptr); 318 AudioContextEvents(EventTarget _ptr) : super(_ptr);
317 319
318 @DocsEditable 320 @DocsEditable
319 EventListenerList get complete => this['complete']; 321 EventListenerList get complete => this['complete'];
320 } 322 }
321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
322 // for details. All rights reserved. Use of this source code is governed by a 324 // for details. All rights reserved. Use of this source code is governed by a
323 // BSD-style license that can be found in the LICENSE file. 325 // BSD-style license that can be found in the LICENSE file.
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 } 839 }
838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
839 // for details. All rights reserved. Use of this source code is governed by a 841 // for details. All rights reserved. Use of this source code is governed by a
840 // BSD-style license that can be found in the LICENSE file. 842 // BSD-style license that can be found in the LICENSE file.
841 843
842 844
843 @DocsEditable 845 @DocsEditable
844 @DomName('WaveTable') 846 @DomName('WaveTable')
845 class WaveTable native "*WaveTable" { 847 class WaveTable native "*WaveTable" {
846 } 848 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698