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

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

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COCOA_HUNG_RENDERER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_HUNG_RENDERER_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_HUNG_RENDERER_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_HUNG_RENDERER_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 // A controller for the Mac hung renderer dialog window. Only one 9 // A controller for the Mac hung renderer dialog window. Only one
10 // instance of this controller can exist at any time, although a given 10 // instance of this controller can exist at any time, although a given
11 // controller is destroyed when its window is closed. 11 // controller is destroyed when its window is closed.
12 // 12 //
13 // The dialog itself displays a list of frozen tabs, all of which 13 // The dialog itself displays a list of frozen tabs, all of which
14 // share a render process. Since there can only be a single dialog 14 // share a render process. Since there can only be a single dialog
15 // open at a time, if showForTabContents is called for a different 15 // open at a time, if showForTabContents is called for a different
16 // tab, the dialog is repurposed to show a warning for the new tab. 16 // tab, the dialog is repurposed to show a warning for the new tab.
17 // 17 //
18 // The caller is required to call endForTabContents before deleting 18 // The caller is required to call endForTabContents before deleting
19 // any TabContents object. 19 // any TabContents object.
20 20
21 #import <Cocoa/Cocoa.h> 21 #import <Cocoa/Cocoa.h>
22 22
23 #include <vector>
24
25 #import "base/cocoa_protocols_mac.h" 23 #import "base/cocoa_protocols_mac.h"
26 #import "base/scoped_nsobject.h" 24 #import "base/scoped_nsobject.h"
27 25
28 @class MultiKeyEquivalentButton; 26 @class MultiKeyEquivalentButton;
29 class TabContents; 27 class TabContents;
30 28
31 @interface HungRendererController : NSWindowController<NSTableViewDataSource> { 29 @interface HungRendererController : NSWindowController<NSTableViewDataSource> {
32 @private 30 @private
33 IBOutlet MultiKeyEquivalentButton* waitButton_; 31 IBOutlet MultiKeyEquivalentButton* waitButton_;
34 IBOutlet NSButton* killButton_; 32 IBOutlet NSButton* killButton_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 67
70 @end // HungRendererController 68 @end // HungRendererController
71 69
72 70
73 @interface HungRendererController (JustForTesting) 71 @interface HungRendererController (JustForTesting)
74 - (NSButton*)killButton; 72 - (NSButton*)killButton;
75 - (MultiKeyEquivalentButton*)waitButton; 73 - (MultiKeyEquivalentButton*)waitButton;
76 @end 74 @end
77 75
78 #endif // CHROME_BROWSER_COCOA_HUNG_RENDERER_CONTROLLER_H_ 76 #endif // CHROME_BROWSER_COCOA_HUNG_RENDERER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/html_dialog_window_controller.h ('k') | chrome/browser/cocoa/location_bar/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698