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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
index c33212cbd695648ae6e0c5e87c459c3b7cf88eb1..3d2a4457dca29ad21bdeed40f4029e9e9b731988 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -462,7 +462,7 @@ class AudioContext extends EventTarget {
@DomName('AudioContext.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioContext_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioContext_addEventListener_Callback";
@DomName('AudioContext.dispatchEvent')
@DocsEditable()
@@ -472,7 +472,7 @@ class AudioContext extends EventTarget {
@DomName('AudioContext.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "AudioContext_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "AudioContext_removeEventListener_Callback";
@DomName('AudioContext.oncomplete')
@DocsEditable()
@@ -613,7 +613,7 @@ class AudioNode extends EventTarget {
@DomName('AudioNode.addEventListener')
@DocsEditable()
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_addEventListener_Callback";
@DomName('AudioNode.dispatchEvent')
@DocsEditable()
@@ -621,7 +621,7 @@ class AudioNode extends EventTarget {
@DomName('AudioNode.removeEventListener')
@DocsEditable()
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_removeEventListener_Callback";
@DomName('AudioNode.connect')
void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
@@ -1089,12 +1089,6 @@ class OscillatorNode extends AudioSourceNode {
@Experimental() // untriaged
static const EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended');
- @DomName('OscillatorNode.CUSTOM')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int CUSTOM = 4;
-
@DomName('OscillatorNode.FINISHED_STATE')
@DocsEditable()
static const int FINISHED_STATE = 3;
@@ -1103,34 +1097,10 @@ class OscillatorNode extends AudioSourceNode {
@DocsEditable()
static const int PLAYING_STATE = 2;
- @DomName('OscillatorNode.SAWTOOTH')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int SAWTOOTH = 2;
-
@DomName('OscillatorNode.SCHEDULED_STATE')
@DocsEditable()
static const int SCHEDULED_STATE = 1;
- @DomName('OscillatorNode.SINE')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int SINE = 0;
-
- @DomName('OscillatorNode.SQUARE')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int SQUARE = 1;
-
- @DomName('OscillatorNode.TRIANGLE')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int TRIANGLE = 3;
-
@DomName('OscillatorNode.UNSCHEDULED_STATE')
@DocsEditable()
static const int UNSCHEDULED_STATE = 0;
@@ -1197,42 +1167,6 @@ class PannerNode extends AudioNode {
// To suppress missing implicit constructor warnings.
factory PannerNode._() { throw new UnsupportedError("Not supported"); }
- @DomName('PannerNode.EQUALPOWER')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int EQUALPOWER = 0;
-
- @DomName('PannerNode.EXPONENTIAL_DISTANCE')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int EXPONENTIAL_DISTANCE = 2;
-
- @DomName('PannerNode.HRTF')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int HRTF = 1;
-
- @DomName('PannerNode.INVERSE_DISTANCE')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int INVERSE_DISTANCE = 1;
-
- @DomName('PannerNode.LINEAR_DISTANCE')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int LINEAR_DISTANCE = 0;
-
- @DomName('PannerNode.SOUNDFIELD')
- @DocsEditable()
- // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AlternateNames
- @deprecated // deprecated
- static const int SOUNDFIELD = 2;
-
@DomName('PannerNode.coneInnerAngle')
@DocsEditable()
num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter";
« 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