Index: third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl b/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f4cdaeae9b54758176b588e8225971056ae7f0b8 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl |
@@ -0,0 +1,11 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ Exposed=AudioWorklet, |
+ Global=AudioWorklet, |
+ RuntimeEnabled=WebAudioWorklet, |
+] interface AudioWorkletGlobalScope : WorkletGlobalScope { |
+ [RaisesException] void registerAudioWorkletProcessor(DOMString name, Function paintCtor); |
+}; |