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

Side by Side Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 30353003: Removing some deprecated members (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/web_audio/dart2js/web_audio_dart2js.dart ('k') | tests/html/html.status » ('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 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 return completer.future; 455 return completer.future;
456 } 456 }
457 457
458 @DomName('AudioContext.startRendering') 458 @DomName('AudioContext.startRendering')
459 @DocsEditable() 459 @DocsEditable()
460 void startRendering() native "AudioContext_startRendering_Callback"; 460 void startRendering() native "AudioContext_startRendering_Callback";
461 461
462 @DomName('AudioContext.addEventListener') 462 @DomName('AudioContext.addEventListener')
463 @DocsEditable() 463 @DocsEditable()
464 @Experimental() // untriaged 464 @Experimental() // untriaged
465 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "AudioContext_addEventListener_Callback"; 465 void _addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioContext_addEventListener_Callback";
466 466
467 @DomName('AudioContext.dispatchEvent') 467 @DomName('AudioContext.dispatchEvent')
468 @DocsEditable() 468 @DocsEditable()
469 @Experimental() // untriaged 469 @Experimental() // untriaged
470 bool dispatchEvent(Event event) native "AudioContext_dispatchEvent_Callback"; 470 bool dispatchEvent(Event event) native "AudioContext_dispatchEvent_Callback";
471 471
472 @DomName('AudioContext.removeEventListener') 472 @DomName('AudioContext.removeEventListener')
473 @DocsEditable() 473 @DocsEditable()
474 @Experimental() // untriaged 474 @Experimental() // untriaged
475 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "AudioContext_removeEventListener_Callback"; 475 void _removeEventListener(String type, EventListener listener, [bool useCaptur e]) native "AudioContext_removeEventListener_Callback";
476 476
477 @DomName('AudioContext.oncomplete') 477 @DomName('AudioContext.oncomplete')
478 @DocsEditable() 478 @DocsEditable()
479 Stream<Event> get onComplete => completeEvent.forTarget(this); 479 Stream<Event> get onComplete => completeEvent.forTarget(this);
480 480
481 } 481 }
482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
483 // for details. All rights reserved. Use of this source code is governed by a 483 // for details. All rights reserved. Use of this source code is governed by a
484 // BSD-style license that can be found in the LICENSE file. 484 // BSD-style license that can be found in the LICENSE file.
485 485
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 void _connect_1(destination, output, input) native "AudioNode__connect_1_Callb ack"; 606 void _connect_1(destination, output, input) native "AudioNode__connect_1_Callb ack";
607 607
608 void _connect_2(destination, output) native "AudioNode__connect_2_Callback"; 608 void _connect_2(destination, output) native "AudioNode__connect_2_Callback";
609 609
610 @DomName('AudioNode.disconnect') 610 @DomName('AudioNode.disconnect')
611 @DocsEditable() 611 @DocsEditable()
612 void disconnect(int output) native "AudioNode_disconnect_Callback"; 612 void disconnect(int output) native "AudioNode_disconnect_Callback";
613 613
614 @DomName('AudioNode.addEventListener') 614 @DomName('AudioNode.addEventListener')
615 @DocsEditable() 615 @DocsEditable()
616 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "AudioNode_addEventListener_Callback"; 616 void _addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_addEventListener_Callback";
617 617
618 @DomName('AudioNode.dispatchEvent') 618 @DomName('AudioNode.dispatchEvent')
619 @DocsEditable() 619 @DocsEditable()
620 bool dispatchEvent(Event event) native "AudioNode_dispatchEvent_Callback"; 620 bool dispatchEvent(Event event) native "AudioNode_dispatchEvent_Callback";
621 621
622 @DomName('AudioNode.removeEventListener') 622 @DomName('AudioNode.removeEventListener')
623 @DocsEditable() 623 @DocsEditable()
624 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "AudioNode_removeEventListener_Callback"; 624 void _removeEventListener(String type, EventListener listener, [bool useCaptur e]) native "AudioNode_removeEventListener_Callback";
625 625
626 @DomName('AudioNode.connect') 626 @DomName('AudioNode.connect')
627 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => 627 void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
628 _connect(destination, output, input); 628 _connect(destination, output, input);
629 629
630 @DomName('AudioNode.connect') 630 @DomName('AudioNode.connect')
631 void connectParam(AudioParam destination, [int output = 0]) => 631 void connectParam(AudioParam destination, [int output = 0]) =>
632 _connect(destination, output); 632 _connect(destination, output);
633 } 633 }
634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 @Experimental() 1082 @Experimental()
1083 class OscillatorNode extends AudioSourceNode { 1083 class OscillatorNode extends AudioSourceNode {
1084 // To suppress missing implicit constructor warnings. 1084 // To suppress missing implicit constructor warnings.
1085 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } 1085 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
1086 1086
1087 @DomName('OscillatorNode.endedEvent') 1087 @DomName('OscillatorNode.endedEvent')
1088 @DocsEditable() 1088 @DocsEditable()
1089 @Experimental() // untriaged 1089 @Experimental() // untriaged
1090 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 1090 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
1091 1091
1092 @DomName('OscillatorNode.CUSTOM')
1093 @DocsEditable()
1094 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1095 @deprecated // deprecated
1096 static const int CUSTOM = 4;
1097
1098 @DomName('OscillatorNode.FINISHED_STATE') 1092 @DomName('OscillatorNode.FINISHED_STATE')
1099 @DocsEditable() 1093 @DocsEditable()
1100 static const int FINISHED_STATE = 3; 1094 static const int FINISHED_STATE = 3;
1101 1095
1102 @DomName('OscillatorNode.PLAYING_STATE') 1096 @DomName('OscillatorNode.PLAYING_STATE')
1103 @DocsEditable() 1097 @DocsEditable()
1104 static const int PLAYING_STATE = 2; 1098 static const int PLAYING_STATE = 2;
1105 1099
1106 @DomName('OscillatorNode.SAWTOOTH')
1107 @DocsEditable()
1108 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1109 @deprecated // deprecated
1110 static const int SAWTOOTH = 2;
1111
1112 @DomName('OscillatorNode.SCHEDULED_STATE') 1100 @DomName('OscillatorNode.SCHEDULED_STATE')
1113 @DocsEditable() 1101 @DocsEditable()
1114 static const int SCHEDULED_STATE = 1; 1102 static const int SCHEDULED_STATE = 1;
1115 1103
1116 @DomName('OscillatorNode.SINE')
1117 @DocsEditable()
1118 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1119 @deprecated // deprecated
1120 static const int SINE = 0;
1121
1122 @DomName('OscillatorNode.SQUARE')
1123 @DocsEditable()
1124 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1125 @deprecated // deprecated
1126 static const int SQUARE = 1;
1127
1128 @DomName('OscillatorNode.TRIANGLE')
1129 @DocsEditable()
1130 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1131 @deprecated // deprecated
1132 static const int TRIANGLE = 3;
1133
1134 @DomName('OscillatorNode.UNSCHEDULED_STATE') 1104 @DomName('OscillatorNode.UNSCHEDULED_STATE')
1135 @DocsEditable() 1105 @DocsEditable()
1136 static const int UNSCHEDULED_STATE = 0; 1106 static const int UNSCHEDULED_STATE = 0;
1137 1107
1138 @DomName('OscillatorNode.detune') 1108 @DomName('OscillatorNode.detune')
1139 @DocsEditable() 1109 @DocsEditable()
1140 AudioParam get detune native "OscillatorNode_detune_Getter"; 1110 AudioParam get detune native "OscillatorNode_detune_Getter";
1141 1111
1142 @DomName('OscillatorNode.frequency') 1112 @DomName('OscillatorNode.frequency')
1143 @DocsEditable() 1113 @DocsEditable()
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 1160
1191 1161
1192 @DocsEditable() 1162 @DocsEditable()
1193 @DomName('PannerNode') 1163 @DomName('PannerNode')
1194 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode 1164 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
1195 @Experimental() 1165 @Experimental()
1196 class PannerNode extends AudioNode { 1166 class PannerNode extends AudioNode {
1197 // To suppress missing implicit constructor warnings. 1167 // To suppress missing implicit constructor warnings.
1198 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 1168 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1199 1169
1200 @DomName('PannerNode.EQUALPOWER')
1201 @DocsEditable()
1202 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1203 @deprecated // deprecated
1204 static const int EQUALPOWER = 0;
1205
1206 @DomName('PannerNode.EXPONENTIAL_DISTANCE')
1207 @DocsEditable()
1208 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1209 @deprecated // deprecated
1210 static const int EXPONENTIAL_DISTANCE = 2;
1211
1212 @DomName('PannerNode.HRTF')
1213 @DocsEditable()
1214 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1215 @deprecated // deprecated
1216 static const int HRTF = 1;
1217
1218 @DomName('PannerNode.INVERSE_DISTANCE')
1219 @DocsEditable()
1220 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1221 @deprecated // deprecated
1222 static const int INVERSE_DISTANCE = 1;
1223
1224 @DomName('PannerNode.LINEAR_DISTANCE')
1225 @DocsEditable()
1226 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1227 @deprecated // deprecated
1228 static const int LINEAR_DISTANCE = 0;
1229
1230 @DomName('PannerNode.SOUNDFIELD')
1231 @DocsEditable()
1232 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1233 @deprecated // deprecated
1234 static const int SOUNDFIELD = 2;
1235
1236 @DomName('PannerNode.coneInnerAngle') 1170 @DomName('PannerNode.coneInnerAngle')
1237 @DocsEditable() 1171 @DocsEditable()
1238 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter"; 1172 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter";
1239 1173
1240 @DomName('PannerNode.coneInnerAngle') 1174 @DomName('PannerNode.coneInnerAngle')
1241 @DocsEditable() 1175 @DocsEditable()
1242 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter"; 1176 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter";
1243 1177
1244 @DomName('PannerNode.coneOuterAngle') 1178 @DomName('PannerNode.coneOuterAngle')
1245 @DocsEditable() 1179 @DocsEditable()
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 1326
1393 @DomName('WaveShaperNode.oversample') 1327 @DomName('WaveShaperNode.oversample')
1394 @DocsEditable() 1328 @DocsEditable()
1395 String get oversample native "WaveShaperNode_oversample_Getter"; 1329 String get oversample native "WaveShaperNode_oversample_Getter";
1396 1330
1397 @DomName('WaveShaperNode.oversample') 1331 @DomName('WaveShaperNode.oversample')
1398 @DocsEditable() 1332 @DocsEditable()
1399 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; 1333 void set oversample(String value) native "WaveShaperNode_oversample_Setter";
1400 1334
1401 } 1335 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698