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

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
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)
@@ -121,6 +121,13 @@
// HungPagesTableModel::Delegate overrides:
virtual void TabDestroyed() OVERRIDE;
+ // Helper 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);
+
protected:
HungRendererDialogView();
virtual ~HungRendererDialogView();
@@ -130,9 +137,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') | chrome/browser/ui/views/hung_renderer_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698