Make window aware of renderer crashes.

This commit is contained in:
Cheng Zhao 2013-06-10 20:42:10 +08:00
parent 25df5caf63
commit e440ad2714
3 changed files with 13 additions and 0 deletions

View file

@ -149,6 +149,8 @@ class NativeWindow : public content::WebContentsDelegate,
const content::WebContents* source) const OVERRIDE;
virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE;
virtual void RendererResponsive(content::WebContents* source) OVERRIDE;
virtual void NavigationStateChanged(const content::WebContents* source,
unsigned changed_flags) OVERRIDE;
// Implementations of content::WebContentsObserver.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;