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

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

Issue 1752623004: Remove DialogDelegate::Accept() variant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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
diff --git a/chrome/browser/ui/views/hung_renderer_view.h b/chrome/browser/ui/views/hung_renderer_view.h
index d87a94595c8b942bbb680460f628dca2544b924b..0d10b906c054d3f8a90d93a6ece10e0eaba7662b 100644
--- a/chrome/browser/ui/views/hung_renderer_view.h
+++ b/chrome/browser/ui/views/hung_renderer_view.h
@@ -110,10 +110,6 @@ class HungRendererDialogView : public views::DialogDelegateView,
static void Show(content::WebContents* contents);
static void Hide(content::WebContents* contents);
- // Platform specific function to kill the renderer process identified by the
- // render process host passed in.
- static void KillRendererProcess(content::RenderProcessHost* rph);
-
// Returns true if the frame is in the foreground.
static bool IsFrameActive(content::WebContents* contents);
@@ -126,7 +122,7 @@ class HungRendererDialogView : public views::DialogDelegateView,
int GetDialogButtons() const override;
base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
views::View* CreateExtraView() override;
- bool Accept(bool window_closing) override;
+ bool Cancel() override;
bool UseNewStyleForThisDialog() const override;
// views::ButtonListener overrides:
@@ -170,6 +166,8 @@ class HungRendererDialogView : public views::DialogDelegateView,
// Whether or not we've created controls for ourself.
bool initialized_;
+ bool kill_button_clicked_;
+
DISALLOW_COPY_AND_ASSIGN(HungRendererDialogView);
};
« 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