Add responsive and unresponsive events for window.

This commit is contained in:
Cheng Zhao 2013-06-06 19:45:48 +08:00
parent 556e84f53a
commit ae88f303fa
7 changed files with 32 additions and 0 deletions

View file

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