Add BrowserWindow.restartHangMonitorTimeout() API.
This commit is contained in:
parent
dfbbaa9efb
commit
f62b88d9ae
4 changed files with 20 additions and 0 deletions
|
@ -140,6 +140,10 @@ void NativeWindow::BlurWebView() {
|
|||
GetWebContents()->GetRenderViewHost()->Blur();
|
||||
}
|
||||
|
||||
void NativeWindow::RestartHangMonitorTimeout() {
|
||||
GetWebContents()->GetRenderViewHost()->RestartHangMonitorTimeout();
|
||||
}
|
||||
|
||||
void NativeWindow::CloseWebContents() {
|
||||
bool prevent_default = false;
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue