OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_INSTALLER_MAC_APP_NSALERT_CHROMEINSTALLERADDITIONS_H_ | 5 #ifndef CHROME_INSTALLER_MAC_APP_NSALERT_CHROMEINSTALLERADDITIONS_H_ |
6 #define CHROME_INSTALLER_MAC_APP_NSALERT_CHROMEINSTALLERADDITIONS_H_ | 6 #define CHROME_INSTALLER_MAC_APP_NSALERT_CHROMEINSTALLERADDITIONS_H_ |
7 | 7 |
8 #import <AppKit/AppKit.h> | 8 #import <AppKit/AppKit.h> |
9 | 9 |
10 typedef NSInteger NSModalResponse; | 10 typedef NSInteger NSModalResponse; |
11 @interface NSAlert (ChromeInstallerAdditions) | 11 @interface NSAlert (ChromeInstallerAdditions) |
12 - (NSModalResponse)quitButton; | 12 // Allows the caller to determine whether to determine the app's quit button was |
| 13 // pressed or not. |
| 14 - (NSModalResponse)quitResponse; |
13 @end | 15 @end |
14 | 16 |
15 #endif // CHROME_INSTALLER_MAC_APP_NSALERT_CHROMEINSTALLERADDITIONS_H_ | 17 #endif // CHROME_INSTALLER_MAC_APP_NSALERT_CHROMEINSTALLERADDITIONS_H_ |
OLD | NEW |