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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.idl

Issue 2557523002: Remove webkitAudoContext and webkitOfflineAudioContext (Closed)
Patch Set: Rebaseline test Created 4 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
23 * DAMAGE. 23 * DAMAGE.
24 */ 24 */
25 25
26 // See https://webaudio.github.io/web-audio-api/#OfflineAudioContext 26 // See https://webaudio.github.io/web-audio-api/#OfflineAudioContext
27 [ 27 [
28 Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, fl oat sampleRate), 28 Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, fl oat sampleRate),
29 ConstructorCallWith=ExecutionContext, 29 ConstructorCallWith=ExecutionContext,
30 RaisesException=Constructor, 30 RaisesException=Constructor,
31 NoInterfaceObject, 31 Measure
32 ] interface OfflineAudioContext : BaseAudioContext { 32 ] interface OfflineAudioContext : BaseAudioContext {
33 // Offline rendering 33 // Offline rendering
34 attribute EventHandler oncomplete; 34 attribute EventHandler oncomplete;
35 readonly attribute unsigned long length; 35 readonly attribute unsigned long length;
36 [CallWith=ScriptState, ImplementedAs=startOfflineRendering, MeasureAs=Offlin eAudioContextStartRendering] Promise<AudioBuffer> startRendering(); 36 [CallWith=ScriptState, ImplementedAs=startOfflineRendering, MeasureAs=Offlin eAudioContextStartRendering] Promise<AudioBuffer> startRendering();
37 [CallWith=ScriptState, ImplementedAs=suspendContext, MeasureAs=OfflineAudioC ontextSuspend] Promise<void> suspend(double suspendTime); 37 [CallWith=ScriptState, ImplementedAs=suspendContext, MeasureAs=OfflineAudioC ontextSuspend] Promise<void> suspend(double suspendTime);
38 }; 38 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698