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

Unified Diff: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Issue 2822303002: Format all files under the sdk/lib directory. (Closed)
Patch Set: reduced_cl Created 3 years, 8 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/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_gl/dart2js/web_gl_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
index 9e46ca7f203618bbba7321c10e1ee394f41f07bb..2c7e3cea756c9ec0c3421cf2dd2083193b284196 100644
--- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
+++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
@@ -55,20 +55,20 @@ class AnalyserNode extends AudioNode {
@DomName('AnalyserNode.getByteFrequencyData')
@DocsEditable()
- void getByteFrequencyData(Uint8List array) native ;
+ void getByteFrequencyData(Uint8List array) native;
@DomName('AnalyserNode.getByteTimeDomainData')
@DocsEditable()
- void getByteTimeDomainData(Uint8List array) native ;
+ void getByteTimeDomainData(Uint8List array) native;
@DomName('AnalyserNode.getFloatFrequencyData')
@DocsEditable()
- void getFloatFrequencyData(Float32List array) native ;
+ void getFloatFrequencyData(Float32List array) native;
@DomName('AnalyserNode.getFloatTimeDomainData')
@DocsEditable()
@Experimental() // untriaged
- void getFloatTimeDomainData(Float32List array) native ;
+ void getFloatTimeDomainData(Float32List array) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -105,17 +105,17 @@ class AudioBuffer extends Interceptor {
@DocsEditable()
@Experimental() // untriaged
void copyFromChannel(Float32List destination, int channelNumber,
- [int startInChannel]) native ;
+ [int startInChannel]) native;
@DomName('AudioBuffer.copyToChannel')
@DocsEditable()
@Experimental() // untriaged
void copyToChannel(Float32List source, int channelNumber,
- [int startInChannel]) native ;
+ [int startInChannel]) native;
@DomName('AudioBuffer.getChannelData')
@DocsEditable()
- Float32List getChannelData(int channelIndex) native ;
+ Float32List getChannelData(int channelIndex) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -260,97 +260,97 @@ class AudioContext extends EventTarget {
@DomName('AudioContext.close')
@DocsEditable()
@Experimental() // untriaged
- Future close() native ;
+ Future close() native;
@DomName('AudioContext.createAnalyser')
@DocsEditable()
- AnalyserNode createAnalyser() native ;
+ AnalyserNode createAnalyser() native;
@DomName('AudioContext.createBiquadFilter')
@DocsEditable()
- BiquadFilterNode createBiquadFilter() native ;
+ BiquadFilterNode createBiquadFilter() native;
@DomName('AudioContext.createBuffer')
@DocsEditable()
AudioBuffer createBuffer(
- int numberOfChannels, int numberOfFrames, num sampleRate) native ;
+ int numberOfChannels, int numberOfFrames, num sampleRate) native;
@DomName('AudioContext.createBufferSource')
@DocsEditable()
- AudioBufferSourceNode createBufferSource() native ;
+ AudioBufferSourceNode createBufferSource() native;
@DomName('AudioContext.createChannelMerger')
@DocsEditable()
- ChannelMergerNode createChannelMerger([int numberOfInputs]) native ;
+ ChannelMergerNode createChannelMerger([int numberOfInputs]) native;
@DomName('AudioContext.createChannelSplitter')
@DocsEditable()
- ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) native ;
+ ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) native;
@DomName('AudioContext.createConvolver')
@DocsEditable()
- ConvolverNode createConvolver() native ;
+ ConvolverNode createConvolver() native;
@DomName('AudioContext.createDelay')
@DocsEditable()
- DelayNode createDelay([num maxDelayTime]) native ;
+ DelayNode createDelay([num maxDelayTime]) native;
@DomName('AudioContext.createDynamicsCompressor')
@DocsEditable()
- DynamicsCompressorNode createDynamicsCompressor() native ;
+ DynamicsCompressorNode createDynamicsCompressor() native;
@DomName('AudioContext.createMediaElementSource')
@DocsEditable()
MediaElementAudioSourceNode createMediaElementSource(
- MediaElement mediaElement) native ;
+ MediaElement mediaElement) native;
@DomName('AudioContext.createMediaStreamDestination')
@DocsEditable()
- MediaStreamAudioDestinationNode createMediaStreamDestination() native ;
+ MediaStreamAudioDestinationNode createMediaStreamDestination() native;
@DomName('AudioContext.createMediaStreamSource')
@DocsEditable()
MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream)
- native ;
+ native;
@DomName('AudioContext.createOscillator')
@DocsEditable()
- OscillatorNode createOscillator() native ;
+ OscillatorNode createOscillator() native;
@DomName('AudioContext.createPanner')
@DocsEditable()
- PannerNode createPanner() native ;
+ PannerNode createPanner() native;
@DomName('AudioContext.createPeriodicWave')
@DocsEditable()
@Experimental() // untriaged
- PeriodicWave createPeriodicWave(Float32List real, Float32List imag) native ;
+ PeriodicWave createPeriodicWave(Float32List real, Float32List imag) native;
@DomName('AudioContext.createStereoPanner')
@DocsEditable()
@Experimental() // untriaged
- StereoPannerNode createStereoPanner() native ;
+ StereoPannerNode createStereoPanner() native;
@DomName('AudioContext.createWaveShaper')
@DocsEditable()
- WaveShaperNode createWaveShaper() native ;
+ WaveShaperNode createWaveShaper() native;
@JSName('decodeAudioData')
@DomName('AudioContext.decodeAudioData')
@DocsEditable()
void _decodeAudioData(
ByteBuffer audioData, AudioBufferCallback successCallback,
- [AudioBufferCallback errorCallback]) native ;
+ [AudioBufferCallback errorCallback]) native;
@DomName('AudioContext.resume')
@DocsEditable()
@Experimental() // untriaged
- Future resume() native ;
+ Future resume() native;
@DomName('AudioContext.suspend')
@DocsEditable()
@Experimental() // untriaged
- Future suspend() native ;
+ Future suspend() native;
factory AudioContext() => JS('AudioContext',
'new (window.AudioContext || window.webkitAudioContext)()');
@@ -442,15 +442,15 @@ class AudioListener extends Interceptor {
@DomName('AudioListener.setOrientation')
@DocsEditable()
- void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native ;
+ void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native;
@DomName('AudioListener.setPosition')
@DocsEditable()
- void setPosition(num x, num y, num z) native ;
+ void setPosition(num x, num y, num z) native;
@DomName('AudioListener.setVelocity')
@DocsEditable()
- void setVelocity(num x, num y, num z) native ;
+ void setVelocity(num x, num y, num z) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -493,11 +493,11 @@ class AudioNode extends EventTarget {
@JSName('connect')
@DomName('AudioNode.connect')
@DocsEditable()
- void _connect(destination, [int output, int input]) native ;
+ void _connect(destination, [int output, int input]) native;
@DomName('AudioNode.disconnect')
@DocsEditable()
- void disconnect([destination_OR_output, int output, int input]) native ;
+ void disconnect([destination_OR_output, int output, int input]) native;
@DomName('AudioNode.connect')
void connectNode(AudioNode destination, [int output = 0, int input = 0]) {
@@ -534,27 +534,27 @@ class AudioParam extends Interceptor {
@DomName('AudioParam.cancelScheduledValues')
@DocsEditable()
- void cancelScheduledValues(num startTime) native ;
+ void cancelScheduledValues(num startTime) native;
@DomName('AudioParam.exponentialRampToValueAtTime')
@DocsEditable()
- void exponentialRampToValueAtTime(num value, num time) native ;
+ void exponentialRampToValueAtTime(num value, num time) native;
@DomName('AudioParam.linearRampToValueAtTime')
@DocsEditable()
- void linearRampToValueAtTime(num value, num time) native ;
+ void linearRampToValueAtTime(num value, num time) native;
@DomName('AudioParam.setTargetAtTime')
@DocsEditable()
- void setTargetAtTime(num target, num time, num timeConstant) native ;
+ void setTargetAtTime(num target, num time, num timeConstant) native;
@DomName('AudioParam.setValueAtTime')
@DocsEditable()
- void setValueAtTime(num value, num time) native ;
+ void setValueAtTime(num value, num time) native;
@DomName('AudioParam.setValueCurveAtTime')
@DocsEditable()
- void setValueCurveAtTime(Float32List values, num time, num duration) native ;
+ void setValueCurveAtTime(Float32List values, num time, num duration) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -637,7 +637,7 @@ class BiquadFilterNode extends AudioNode {
@DomName('BiquadFilterNode.getFrequencyResponse')
@DocsEditable()
void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse,
- Float32List phaseResponse) native ;
+ Float32List phaseResponse) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -876,7 +876,7 @@ class OfflineAudioContext extends AudioContext {
@DomName('OfflineAudioContext.startRendering')
@DocsEditable()
@Experimental() // untriaged
- Future startRendering() native ;
+ Future startRendering() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -920,15 +920,15 @@ class OscillatorNode extends AudioSourceNode {
@DomName('OscillatorNode.setPeriodicWave')
@DocsEditable()
@Experimental() // untriaged
- void setPeriodicWave(PeriodicWave periodicWave) native ;
+ void setPeriodicWave(PeriodicWave periodicWave) native;
@DomName('OscillatorNode.start')
@DocsEditable()
- void start([num when]) native ;
+ void start([num when]) native;
@DomName('OscillatorNode.stop')
@DocsEditable()
- void stop([num when]) native ;
+ void stop([num when]) native;
/// Stream of `ended` events handled by this [OscillatorNode].
@DomName('OscillatorNode.onended')
@@ -985,15 +985,15 @@ class PannerNode extends AudioNode {
@DomName('PannerNode.setOrientation')
@DocsEditable()
- void setOrientation(num x, num y, num z) native ;
+ void setOrientation(num x, num y, num z) native;
@DomName('PannerNode.setPosition')
@DocsEditable()
- void setPosition(num x, num y, num z) native ;
+ void setPosition(num x, num y, num z) native;
@DomName('PannerNode.setVelocity')
@DocsEditable()
- void setVelocity(num x, num y, num z) native ;
+ void setVelocity(num x, num y, num z) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -1043,7 +1043,7 @@ class ScriptProcessorNode extends AudioNode {
@DomName('ScriptProcessorNode.setEventListener')
@DocsEditable()
@Experimental() // untriaged
- void setEventListener(EventListener eventListener) native ;
+ void setEventListener(EventListener eventListener) native;
/// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
/**
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_gl/dart2js/web_gl_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698