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

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

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 /** 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 @DocsEditable() 471 @DocsEditable()
472 final int numberOfInputs; 472 final int numberOfInputs;
473 473
474 @DomName('AudioNode.numberOfOutputs') 474 @DomName('AudioNode.numberOfOutputs')
475 @DocsEditable() 475 @DocsEditable()
476 final int numberOfOutputs; 476 final int numberOfOutputs;
477 477
478 @JSName('connect') 478 @JSName('connect')
479 @DomName('AudioNode.connect') 479 @DomName('AudioNode.connect')
480 @DocsEditable() 480 @DocsEditable()
481 void $dom_connect(destination, int output, [int input]) native; 481 void _connect(destination, int output, [int input]) native;
482 482
483 @DomName('AudioNode.disconnect') 483 @DomName('AudioNode.disconnect')
484 @DocsEditable() 484 @DocsEditable()
485 void disconnect(int output) native; 485 void disconnect(int output) native;
486 486
487 @DomName('AudioNode.connect') 487 @DomName('AudioNode.connect')
488 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => 488 void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
489 $dom_connect(destination, output, input); 489 _connect(destination, output, input);
490 490
491 @DomName('AudioNode.connect') 491 @DomName('AudioNode.connect')
492 void connectParam(AudioParam destination, [int output = 0]) => 492 void connectParam(AudioParam destination, [int output = 0]) =>
493 $dom_connect(destination, output); 493 _connect(destination, output);
494 } 494 }
495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
496 // for details. All rights reserved. Use of this source code is governed by a 496 // for details. All rights reserved. Use of this source code is governed by a
497 // BSD-style license that can be found in the LICENSE file. 497 // BSD-style license that can be found in the LICENSE file.
498 498
499 499
500 @DocsEditable() 500 @DocsEditable()
501 @DomName('AudioParam') 501 @DomName('AudioParam')
502 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 502 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
503 @Experimental() 503 @Experimental()
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1137 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1138 1138
1139 @DomName('WaveShaperNode.curve') 1139 @DomName('WaveShaperNode.curve')
1140 @DocsEditable() 1140 @DocsEditable()
1141 Float32List curve; 1141 Float32List curve;
1142 1142
1143 @DomName('WaveShaperNode.oversample') 1143 @DomName('WaveShaperNode.oversample')
1144 @DocsEditable() 1144 @DocsEditable()
1145 String oversample; 1145 String oversample;
1146 } 1146 }
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