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

Unified Diff: third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl

Issue 11363035: Roll IDLs forward. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
diff --git a/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl b/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
index a838c791f42362faaf9a0ff303be97a7a87a74b0..4988f0cf43b19c1e7a59576b42787e4fb5e95605 100644
--- a/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
+++ b/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
@@ -41,15 +41,19 @@
readonly attribute AudioParam playbackRate;
attribute boolean loop; // This is the proper attribute name from the specification.
- attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility.
+
+ attribute double loopStart;
+ attribute double loopEnd;
[V8MeasureAs=WebAudioStart] void start(in double when);
[V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double when, in double grainOffset, in double grainDuration);
void stop(in double when);
#if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
- [V8MeasureAs=LegacyWebAudioNoteOn] void noteOn(in double when);
- [V8MeasureAs=LegacyWebAudioNoteOn] void noteGrainOn(in double when, in double grainOffset, in double grainDuration);
+ attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility.
+
+ [V8MeasureAs=LegacyWebAudio] void noteOn(in double when);
+ [V8MeasureAs=LegacyWebAudio] void noteGrainOn(in double when, in double grainOffset, in double grainDuration);
void noteOff(in double when);
#endif
};

Powered by Google App Engine
This is Rietveld 408576698