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

Unified Diff: chrome/browser/ui/cocoa/hung_renderer_controller.mm

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 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/cocoa/hung_renderer_controller.mm
diff --git a/chrome/browser/ui/cocoa/hung_renderer_controller.mm b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
index b75da411969edd53d859d17226944cc010309e5b..dc21d44f564c8a03730041e76ae2518ce9678ef2 100644
--- a/chrome/browser/ui/cocoa/hung_renderer_controller.mm
+++ b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
@@ -49,11 +49,11 @@ class WebContentsObserverBridge : public content::WebContentsObserver {
protected:
// WebContentsObserver overrides:
- virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE {
- [controller_ renderViewGone];
+ virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE {
+ [controller_ renderProcessGone];
}
virtual void WebContentsDestroyed(WebContents* tab) OVERRIDE {
- [controller_ renderViewGone];
+ [controller_ renderProcessGone];
}
private:
@@ -205,7 +205,7 @@ class WebContentsObserverBridge : public content::WebContentsObserver {
}
}
-- (void)renderViewGone {
+- (void)renderProcessGone {
// Cannot call performClose:, because the close button is disabled.
[self close];
}
« no previous file with comments | « chrome/browser/ui/cocoa/hung_renderer_controller.h ('k') | chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698