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/cocoa/confirm_quit_panel_controller.h

Issue 4220005: [Mac] Add a confirm to quit experiment to about:flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 10 years, 1 month 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698