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

Unified Diff: chrome/browser/ui/cocoa/confirm_quit_panel_controller.h

Issue 6625025: [Mac] Confirm-to-Quit: Wait for a KeyUp event if the user held Cmd+Q on the second tap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/confirm_quit_panel_controller.h
diff --git a/chrome/browser/ui/cocoa/confirm_quit_panel_controller.h b/chrome/browser/ui/cocoa/confirm_quit_panel_controller.h
index 649f17cda61db764ba3237ddcccd8776778d8681..74c9a43e3e9cfc64e0383088350cd5b173e90df6 100644
--- a/chrome/browser/ui/cocoa/confirm_quit_panel_controller.h
+++ b/chrome/browser/ui/cocoa/confirm_quit_panel_controller.h
@@ -24,6 +24,11 @@
// does not currently exist.
+ (ConfirmQuitPanelController*)sharedController;
+// Runs a modal loop that brings up the panel and handles the logic for if and
+// when to terminate. Returns NSApplicationTerminateReply for use in
+// -[NSApplicationDelegate applicationShouldTerminate:].
+- (NSApplicationTerminateReply)runModalLoopForApplication:(NSApplication*)app;
+
// Shows the window.
- (void)showWindow:(id)sender;

Powered by Google App Engine
This is Rietveld 408576698