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

Side by Side Diff: chrome/browser/ui/cocoa/confirm_quit_panel_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, 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_CONFIRM_QUIT_PANEL_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_CONFIRM_QUIT_PANEL_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_CONFIRM_QUIT_PANEL_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_CONFIRM_QUIT_PANEL_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/mac/cocoa_protocols.h"
11 #include "ui/base/accelerators/accelerator_cocoa.h" 10 #include "ui/base/accelerators/accelerator_cocoa.h"
12 11
13 @class ConfirmQuitFrameView; 12 @class ConfirmQuitFrameView;
14 13
15 // The ConfirmQuitPanelController manages the black HUD window that tells users 14 // The ConfirmQuitPanelController manages the black HUD window that tells users
16 // to "Hold Cmd+Q to Quit". 15 // to "Hold Cmd+Q to Quit".
17 @interface ConfirmQuitPanelController : NSWindowController<NSWindowDelegate> { 16 @interface ConfirmQuitPanelController : NSWindowController<NSWindowDelegate> {
18 @private 17 @private
19 // The content view of the window that this controller manages. 18 // The content view of the window that this controller manages.
20 ConfirmQuitFrameView* contentView_; // Weak, owned by the window. 19 ConfirmQuitFrameView* contentView_; // Weak, owned by the window.
(...skipping 24 matching lines...) Expand all
45 // Returns a string representation fit for display of |+quitAccelerator|. 44 // Returns a string representation fit for display of |+quitAccelerator|.
46 + (NSString*)keyCommandString; 45 + (NSString*)keyCommandString;
47 46
48 @end 47 @end
49 48
50 @interface ConfirmQuitPanelController (UnitTesting) 49 @interface ConfirmQuitPanelController (UnitTesting)
51 + (NSString*)keyCombinationForAccelerator:(const ui::AcceleratorCocoa&)item; 50 + (NSString*)keyCombinationForAccelerator:(const ui::AcceleratorCocoa&)item;
52 @end 51 @end
53 52
54 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_QUIT_PANEL_CONTROLLER_H_ 53 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_QUIT_PANEL_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698