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

Side by Side Diff: chrome/browser/ui/cocoa/hung_renderer_controller.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_
7 7
8 // A controller for the Mac hung renderer dialog window. Only one 8 // A controller for the Mac hung renderer dialog window. Only one
9 // instance of this controller can exist at any time, although a given 9 // instance of this controller can exist at any time, although a given
10 // controller is destroyed when its window is closed. 10 // controller is destroyed when its window is closed.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 - (void)showForWebContents:(content::WebContents*)contents; 66 - (void)showForWebContents:(content::WebContents*)contents;
67 67
68 // Notifies the dialog that |contents| is either responsive or closed. 68 // Notifies the dialog that |contents| is either responsive or closed.
69 // If |contents| shares the same render process as the tab contents 69 // If |contents| shares the same render process as the tab contents
70 // this dialog was created for, this function will close the dialog. 70 // this dialog was created for, this function will close the dialog.
71 // If |contents| has a different process, this function does nothing. 71 // If |contents| has a different process, this function does nothing.
72 - (void)endForWebContents:(content::WebContents*)contents; 72 - (void)endForWebContents:(content::WebContents*)contents;
73 73
74 // Called by |hungContentsObserver_| to indicate that |hungContents_| 74 // Called by |hungContentsObserver_| to indicate that |hungContents_|
75 // has gone away. 75 // has gone away.
76 - (void)renderViewGone; 76 - (void)renderProcessGone;
77 77
78 @end // HungRendererController 78 @end // HungRendererController
79 79
80 80
81 @interface HungRendererController (JustForTesting) 81 @interface HungRendererController (JustForTesting)
82 - (NSButton*)killButton; 82 - (NSButton*)killButton;
83 - (MultiKeyEquivalentButton*)waitButton; 83 - (MultiKeyEquivalentButton*)waitButton;
84 @end 84 @end
85 85
86 #endif // CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_ 86 #endif // CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/background_contents.cc ('k') | chrome/browser/ui/cocoa/hung_renderer_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698