Add ExtendedWebContentsObserver
This commit is contained in:
parent
a3124e8873
commit
a25b49a127
4 changed files with 25 additions and 4 deletions
|
@ -642,6 +642,8 @@ void WebContents::RendererResponsive(content::WebContents* source) {
|
|||
Emit("responsive");
|
||||
if ((type_ == BROWSER_WINDOW || type_ == OFF_SCREEN) && owner_window())
|
||||
owner_window()->RendererResponsive(source);
|
||||
for (ExtendedWebContentsObserver& observer : observers_)
|
||||
observer.OnRendererResponsive();
|
||||
}
|
||||
|
||||
bool WebContents::HandleContextMenu(const content::ContextMenuParams& params) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue