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

Side by Side Diff: chrome/browser/ui/cocoa/notifications/notification_private_mac.h

Issue 2390153005: Implement support for closing mac native notifications (Closed)
Patch Set: set upstream to the right diff Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698