mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1188487 - BrowserElement webidl changes for muting and setting volume. r=ehsan
This commit is contained in:
parent
ea89e3d80b
commit
ce79c6b136
@ -34,4 +34,44 @@ partial interface BrowserElementPrivileged {
|
||||
Pref="dom.mozBrowserFramesEnabled",
|
||||
CheckAnyPermissions="browser"]
|
||||
readonly attribute sequence<BrowserElementAudioChannel> allowedAudioChannels;
|
||||
|
||||
/**
|
||||
* Mutes all audio in this browser.
|
||||
*/
|
||||
[Throws,
|
||||
Pref="dom.mozBrowserFramesEnabled",
|
||||
CheckAnyPermissions="browser"]
|
||||
void mute();
|
||||
|
||||
/**
|
||||
* Unmutes all audio in this browser.
|
||||
*/
|
||||
[Throws,
|
||||
Pref="dom.mozBrowserFramesEnabled",
|
||||
CheckAnyPermissions="browser"]
|
||||
void unmute();
|
||||
|
||||
/**
|
||||
* Obtains whether or not the browser is muted.
|
||||
*/
|
||||
[Throws,
|
||||
Pref="dom.mozBrowserFramesEnabled",
|
||||
CheckAnyPermissions="browser"]
|
||||
DOMRequest getMuted();
|
||||
|
||||
/**
|
||||
* Sets the volume for the browser.
|
||||
*/
|
||||
[Throws,
|
||||
Pref="dom.mozBrowserFramesEnabled",
|
||||
CheckAnyPermissions="browser"]
|
||||
void setVolume(float volume);
|
||||
|
||||
/**
|
||||
* Gets the volume for the browser.
|
||||
*/
|
||||
[Throws,
|
||||
Pref="dom.mozBrowserFramesEnabled",
|
||||
CheckAnyPermissions="browser"]
|
||||
DOMRequest getVolume();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user