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

Unified Diff: pkg/dev_compiler/tool/input_sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Issue 2830503002: Run formatter on dev_compiler. (Closed)
Patch Set: Run formatter on dev_compiler. 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
Index: pkg/dev_compiler/tool/input_sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/pkg/dev_compiler/tool/input_sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
index f78c944bc615c7c311e7bf204a0c6c17c7537732..c728a080c25995b288b86ca2a4bf89ab65f59317 100644
--- a/pkg/dev_compiler/tool/input_sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
+++ b/pkg/dev_compiler/tool/input_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
@@ -103,7 +103,7 @@ class AudioBuffer extends Interceptor {
@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
@@ -248,82 +248,82 @@ class AudioContext extends EventTarget {
@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.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.startRendering')
@DocsEditable()
- void startRendering() native ;
+ void startRendering() native;
/// Stream of `complete` events handled by this [AudioContext].
@DomName('AudioContext.oncomplete')
@@ -420,15 +420,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
@@ -471,11 +471,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(int output) native ;
+ void disconnect(int output) native;
@DomName('AudioNode.connect')
void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
@@ -510,27 +510,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
@@ -613,7 +613,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
@@ -890,24 +890,24 @@ class OscillatorNode extends AudioSourceNode {
@DomName('OscillatorNode.noteOff')
@DocsEditable()
- void noteOff(num when) native ;
+ void noteOff(num when) native;
@DomName('OscillatorNode.noteOn')
@DocsEditable()
- void noteOn(num when) native ;
+ void noteOn(num when) native;
@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')
@@ -964,15 +964,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
@@ -1022,7 +1022,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].
/**

Powered by Google App Engine
This is Rietveld 408576698