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

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

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.
11 // 11 //
12 // The dialog itself displays a list of frozen tabs, all of which 12 // The dialog itself displays a list of frozen tabs, all of which
13 // share a render process. Since there can only be a single dialog 13 // share a render process. Since there can only be a single dialog
14 // open at a time, if showForWebContents is called for a different 14 // open at a time, if showForWebContents is called for a different
15 // tab, the dialog is repurposed to show a warning for the new tab. 15 // tab, the dialog is repurposed to show a warning for the new tab.
16 // 16 //
17 // The caller is required to call endForWebContents before deleting 17 // The caller is required to call endForWebContents before deleting
18 // any WebContents object. 18 // any WebContents object.
19 19
20 #import <Cocoa/Cocoa.h> 20 #import <Cocoa/Cocoa.h>
21 21
22 #import "base/mac/cocoa_protocols.h"
23 #import "base/memory/scoped_nsobject.h" 22 #import "base/memory/scoped_nsobject.h"
24 #import "base/memory/scoped_ptr.h" 23 #import "base/memory/scoped_ptr.h"
25 24
26 @class MultiKeyEquivalentButton; 25 @class MultiKeyEquivalentButton;
27 class WebContentsObserverBridge; 26 class WebContentsObserverBridge;
28 27
29 namespace content { 28 namespace content {
30 class WebContents; 29 class WebContents;
31 } 30 }
32 31
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 77
79 @end // HungRendererController 78 @end // HungRendererController
80 79
81 80
82 @interface HungRendererController (JustForTesting) 81 @interface HungRendererController (JustForTesting)
83 - (NSButton*)killButton; 82 - (NSButton*)killButton;
84 - (MultiKeyEquivalentButton*)waitButton; 83 - (MultiKeyEquivalentButton*)waitButton;
85 @end 84 @end
86 85
87 #endif // CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_ 86 #endif // CHROME_BROWSER_UI_COCOA_HUNG_RENDERER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698