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

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

Issue 2386303002: Expose BaseAudioContext prototype (Closed)
Patch Set: fixed cross-origin-objects Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17 matching lines...) Expand all
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 NoInterfaceObject,
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 [CallWith=ScriptState, ImplementedAs=resumeContext, MeasureAs=OfflineAudioCo ntextResume] Promise<void> resume();
39 }; 38 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698