| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // https://w3c.github.io/mediacapture-output/#htmlmediaelement-extensions | 5 // https://w3c.github.io/mediacapture-output/#htmlmediaelement-extensions |
| 6 | 6 |
| 7 partial interface HTMLMediaElement { | 7 partial interface HTMLMediaElement { |
| 8 [RuntimeEnabled=AudioOutputDevices] readonly attribute DOMString sinkId; | 8 [RuntimeEnabled=AudioOutputDevices] readonly attribute DOMString sinkId; |
| 9 [RuntimeEnabled=AudioOutputDevices, TypeChecking=Interface, CallWith=ScriptS
tate] Promise<void> setSinkId(DOMString sinkId); | 9 [RuntimeEnabled=AudioOutputDevices, CallWith=ScriptState] Promise<void> setS
inkId(DOMString sinkId); |
| 10 }; | 10 }; |
| 11 | |
| OLD | NEW |