Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: chrome/browser/ui/views/hung_renderer_view.h

Issue 10806079: Add support for invoking the Windows 8 metro style hung renderer dialog box. The dialog box (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/hung_renderer_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/hung_renderer_view.h
===================================================================
--- chrome/browser/ui/views/hung_renderer_view.h (revision 147919)
+++ chrome/browser/ui/views/hung_renderer_view.h (working copy)
@@ -99,9 +99,17 @@
// Factory function for creating an instance of the HungRendererDialogView
// class. At any given point only one instance can be active.
static HungRendererDialogView* Create();
+
// Returns a pointer to the singleton instance if any.
static HungRendererDialogView* GetInstance();
+ // Platform specific function to kill the renderer process identified by the
+ // handle passed in.
+ static void KillRendererProcess(base::ProcessHandle process_handle);
+
+ // Returns true if the frame is in the foreground.
+ static bool IsFrameActive(WebContents* contents);
+
virtual void ShowForWebContents(WebContents* contents);
virtual void EndForWebContents(WebContents* contents);
@@ -130,9 +138,6 @@
views::View* parent,
views::View* child) OVERRIDE;
- // Returns true if the frame is in the foreground.
- bool IsFrameActive(WebContents* contents);
-
static HungRendererDialogView* g_instance_;
private:
« no previous file with comments | « no previous file | chrome/browser/ui/views/hung_renderer_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698