Add BrowserWindow.restartHangMonitorTimeout() API.

This commit is contained in:
Cheng Zhao 2013-06-07 18:42:57 +08:00
parent dfbbaa9efb
commit f62b88d9ae
4 changed files with 20 additions and 0 deletions

View file

@ -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,