OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_NOTIFICATION_PRIVATE_MAC_H_ | |
6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_NOTIFICATION_PRIVATE_MAC_H_ | |
7 | |
8 @class NSUserNotification; | |
9 @class NSUserNotificationCenter; | |
10 | |
11 // NSUserNotificationCenter private API. | |
12 | |
13 @protocol | |
Robert Sesek
2016/10/05 20:33:32
I don't think you need this file at all (nothing i
Miguel Garcia
2016/10/05 21:58:37
I see, done then
| |
14 _NSUserNotificationCenterDelegatePrivate<NSUserNotificationCenterDelegate> | |
15 | |
16 // Emmitted when a user clicks the "Close" Button in the notification. | |
17 // It not is emmitted if the notification is closed from the notification | |
18 // center or if the app is not running by the time the Close button is | |
19 // pressed so it's essentially just a best effort way to detect | |
20 // notifications closed by the user | |
21 @optional | |
22 - (void)userNotificationCenter:(NSUserNotificationCenter*)center | |
23 didDismissAlert:(NSUserNotification*)notification; | |
24 @end | |
25 | |
26 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_NOTIFICATION_PRIVATE_MAC_H_ | |
OLD | NEW |