Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.idl |
| diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.idl b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.idl |
| index 4c225d938f979818b2ae117fab4f2cf87b37c8e7..8a163af1069cb0393ded4b997b338b733e02cb2d 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.idl |
| +++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.idl |
| @@ -31,5 +31,7 @@ |
| ] interface OfflineAudioContext : AudioContext { |
| // Offline rendering |
| attribute EventHandler oncomplete; |
| - [CallWith=ScriptState,ImplementedAs=startOfflineRendering] Promise<AudioBuffer> startRendering(); |
| + [CallWith=ScriptState, ImplementedAs=startOfflineRendering] Promise<AudioBuffer> startRendering(); |
| + [CallWith=ScriptState, ImplementedAs=suspendContext] Promise<void> suspend(double suspendTime); |
|
Raymond Toy
2015/10/16 23:32:36
Maybe add metrics for suspend/resume on offline co
hongchan
2015/10/19 20:08:12
It will be the next step of this CL.
|
| + [CallWith=ScriptState, ImplementedAs=resumeContext] Promise<void> resume(); |
| }; |