mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add support for muting audio in the browser (issue #1806)
This commit is contained in:
committed by
Marshall Greenblatt
parent
8d1453fd24
commit
ba8b4e8b9d
@@ -865,6 +865,19 @@ class CefBrowserHost : public virtual CefBaseRefCounted {
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool IsBackgroundHost() = 0;
|
||||
|
||||
///
|
||||
// Set whether the browser's audio is muted.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetAudioMuted(bool mute) = 0;
|
||||
|
||||
///
|
||||
// Returns true if the browser's audio is muted. This method can only be
|
||||
// called on the UI thread.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool IsAudioMuted() = 0;
|
||||
};
|
||||
|
||||
#endif // CEF_INCLUDE_CEF_BROWSER_H_
|
||||
|
Reference in New Issue
Block a user