OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 ImplementedAs=DOMWindowWebAudio, | 6 ImplementedAs=DOMWindowWebAudio, |
7 ] partial interface Window { | 7 ] partial interface Window { |
8 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute AudioContextConst
ructor AudioContext; | 8 [RuntimeEnabled=WebAudio] attribute AudioContextConstructor AudioContext; |
9 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute OfflineAudioConte
xtConstructor OfflineAudioContext; | 9 [RuntimeEnabled=WebAudio] attribute OfflineAudioContextConstructor OfflineAu
dioContext; |
10 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute AudioContextConst
ructor webkitAudioContext; | 10 [RuntimeEnabled=WebAudio] attribute AudioContextConstructor webkitAudioConte
xt; |
11 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute OfflineAudioConte
xtConstructor webkitOfflineAudioContext; | 11 [RuntimeEnabled=WebAudio] attribute OfflineAudioContextConstructor webkitOff
lineAudioContext; |
12 }; | 12 }; |
OLD | NEW |