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

Side by Side Diff: sdk/lib/web_audio/dart2js/web_audio_dart2js.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/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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 @Experimental() 882 @Experimental()
883 class OscillatorNode extends AudioSourceNode native "OscillatorNode,Oscillator" { 883 class OscillatorNode extends AudioSourceNode native "OscillatorNode,Oscillator" {
884 // To suppress missing implicit constructor warnings. 884 // To suppress missing implicit constructor warnings.
885 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } 885 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
886 886
887 @DomName('OscillatorNode.endedEvent') 887 @DomName('OscillatorNode.endedEvent')
888 @DocsEditable() 888 @DocsEditable()
889 @Experimental() // untriaged 889 @Experimental() // untriaged
890 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 890 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
891 891
892 @DomName('OscillatorNode.CUSTOM')
893 @DocsEditable()
894 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
895 @deprecated // deprecated
896 static const int CUSTOM = 4;
897
898 @DomName('OscillatorNode.FINISHED_STATE') 892 @DomName('OscillatorNode.FINISHED_STATE')
899 @DocsEditable() 893 @DocsEditable()
900 static const int FINISHED_STATE = 3; 894 static const int FINISHED_STATE = 3;
901 895
902 @DomName('OscillatorNode.PLAYING_STATE') 896 @DomName('OscillatorNode.PLAYING_STATE')
903 @DocsEditable() 897 @DocsEditable()
904 static const int PLAYING_STATE = 2; 898 static const int PLAYING_STATE = 2;
905 899
906 @DomName('OscillatorNode.SAWTOOTH')
907 @DocsEditable()
908 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
909 @deprecated // deprecated
910 static const int SAWTOOTH = 2;
911
912 @DomName('OscillatorNode.SCHEDULED_STATE') 900 @DomName('OscillatorNode.SCHEDULED_STATE')
913 @DocsEditable() 901 @DocsEditable()
914 static const int SCHEDULED_STATE = 1; 902 static const int SCHEDULED_STATE = 1;
915 903
916 @DomName('OscillatorNode.SINE')
917 @DocsEditable()
918 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
919 @deprecated // deprecated
920 static const int SINE = 0;
921
922 @DomName('OscillatorNode.SQUARE')
923 @DocsEditable()
924 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
925 @deprecated // deprecated
926 static const int SQUARE = 1;
927
928 @DomName('OscillatorNode.TRIANGLE')
929 @DocsEditable()
930 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
931 @deprecated // deprecated
932 static const int TRIANGLE = 3;
933
934 @DomName('OscillatorNode.UNSCHEDULED_STATE') 904 @DomName('OscillatorNode.UNSCHEDULED_STATE')
935 @DocsEditable() 905 @DocsEditable()
936 static const int UNSCHEDULED_STATE = 0; 906 static const int UNSCHEDULED_STATE = 0;
937 907
938 @DomName('OscillatorNode.detune') 908 @DomName('OscillatorNode.detune')
939 @DocsEditable() 909 @DocsEditable()
940 final AudioParam detune; 910 final AudioParam detune;
941 911
942 @DomName('OscillatorNode.frequency') 912 @DomName('OscillatorNode.frequency')
943 @DocsEditable() 913 @DocsEditable()
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 953
984 954
985 @DocsEditable() 955 @DocsEditable()
986 @DomName('PannerNode') 956 @DomName('PannerNode')
987 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode 957 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
988 @Experimental() 958 @Experimental()
989 class PannerNode extends AudioNode native "PannerNode,AudioPannerNode" { 959 class PannerNode extends AudioNode native "PannerNode,AudioPannerNode" {
990 // To suppress missing implicit constructor warnings. 960 // To suppress missing implicit constructor warnings.
991 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 961 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
992 962
993 @DomName('PannerNode.EQUALPOWER')
994 @DocsEditable()
995 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
996 @deprecated // deprecated
997 static const int EQUALPOWER = 0;
998
999 @DomName('PannerNode.EXPONENTIAL_DISTANCE')
1000 @DocsEditable()
1001 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1002 @deprecated // deprecated
1003 static const int EXPONENTIAL_DISTANCE = 2;
1004
1005 @DomName('PannerNode.HRTF')
1006 @DocsEditable()
1007 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1008 @deprecated // deprecated
1009 static const int HRTF = 1;
1010
1011 @DomName('PannerNode.INVERSE_DISTANCE')
1012 @DocsEditable()
1013 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1014 @deprecated // deprecated
1015 static const int INVERSE_DISTANCE = 1;
1016
1017 @DomName('PannerNode.LINEAR_DISTANCE')
1018 @DocsEditable()
1019 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1020 @deprecated // deprecated
1021 static const int LINEAR_DISTANCE = 0;
1022
1023 @DomName('PannerNode.SOUNDFIELD')
1024 @DocsEditable()
1025 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1026 @deprecated // deprecated
1027 static const int SOUNDFIELD = 2;
1028
1029 @DomName('PannerNode.coneInnerAngle') 963 @DomName('PannerNode.coneInnerAngle')
1030 @DocsEditable() 964 @DocsEditable()
1031 num coneInnerAngle; 965 num coneInnerAngle;
1032 966
1033 @DomName('PannerNode.coneOuterAngle') 967 @DomName('PannerNode.coneOuterAngle')
1034 @DocsEditable() 968 @DocsEditable()
1035 num coneOuterAngle; 969 num coneOuterAngle;
1036 970
1037 @DomName('PannerNode.coneOuterGain') 971 @DomName('PannerNode.coneOuterGain')
1038 @DocsEditable() 972 @DocsEditable()
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1064 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1131 1065
1132 @DomName('WaveShaperNode.curve') 1066 @DomName('WaveShaperNode.curve')
1133 @DocsEditable() 1067 @DocsEditable()
1134 Float32List curve; 1068 Float32List curve;
1135 1069
1136 @DomName('WaveShaperNode.oversample') 1070 @DomName('WaveShaperNode.oversample')
1137 @DocsEditable() 1071 @DocsEditable()
1138 String oversample; 1072 String oversample;
1139 } 1073 }
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