OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #import <Cocoa/Cocoa.h> |
| 6 |
| 7 #include "base/cocoa_protocols_mac.h" |
| 8 |
| 9 // The ConfirmQuitPanelController manages the black HUD window that tells users |
| 10 // to "Hold Cmd+Q to Quit". |
| 11 @interface ConfirmQuitPanelController : NSWindowController<NSWindowDelegate> { |
| 12 } |
| 13 |
| 14 // Designated initializer. Loads window from NIB but does not show it. |
| 15 - (id)init; |
| 16 |
| 17 // Shows the window. |
| 18 - (void)showWindow:(id)sender; |
| 19 |
| 20 // If the user did not confirm quit, send this message to give the user |
| 21 // instructions on how to quit. |
| 22 - (void)dismissPanel; |
| 23 |
| 24 @end |
OLD | NEW |