OnAudioStateChanged doesn't take a WebContents
This commit is contained in:
parent
517d38f191
commit
948fe2107e
2 changed files with 2 additions and 4 deletions
|
@ -762,8 +762,7 @@ content::JavaScriptDialogManager* WebContents::GetJavaScriptDialogManager(
|
||||||
return dialog_manager_.get();
|
return dialog_manager_.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebContents::OnAudioStateChanged(content::WebContents* web_contents,
|
void WebContents::OnAudioStateChanged(bool audible) {
|
||||||
bool audible) {
|
|
||||||
Emit("-audio-state-changed", audible);
|
Emit("-audio-state-changed", audible);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -358,8 +358,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
||||||
const content::BluetoothChooser::EventHandler& handler) override;
|
const content::BluetoothChooser::EventHandler& handler) override;
|
||||||
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
|
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
|
||||||
content::WebContents* source) override;
|
content::WebContents* source) override;
|
||||||
void OnAudioStateChanged(content::WebContents* web_contents,
|
void OnAudioStateChanged(bool audible) override;
|
||||||
bool audible) override;
|
|
||||||
|
|
||||||
// content::WebContentsObserver:
|
// content::WebContentsObserver:
|
||||||
void BeforeUnloadFired(const base::TimeTicks& proceed_time) override;
|
void BeforeUnloadFired(const base::TimeTicks& proceed_time) override;
|
||||||
|
|
Loading…
Reference in a new issue