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

Side by Side Diff: chrome/browser/ui/cocoa/notifications/notification_constants_mac.mm

Issue 2799343003: Add support for native extension notifications (Closed)
Patch Set: Remove dependent CL to land standalone Created 3 years, 8 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
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 #include "chrome/browser/ui/cocoa/notifications/notification_constants_mac.h" 5 #include "chrome/browser/ui/cocoa/notifications/notification_constants_mac.h"
6 6
7 namespace notification_constants { 7 namespace notification_constants {
8 8
9 // Applicable to NotificationBuilder and NotificationResponseBuilder 9 // Applicable to NotificationBuilder and NotificationResponseBuilder
10 NSString* const kNotificationOrigin = @"notificationOrigin"; 10 NSString* const kNotificationOrigin = @"notificationOrigin";
11 NSString* const kNotificationId = @"notificationId"; 11 NSString* const kNotificationId = @"notificationId";
12 NSString* const kNotificationProfileId = @"notificationProfileId"; 12 NSString* const kNotificationProfileId = @"notificationProfileId";
13 NSString* const kNotificationIncognito = @"notificationIncognito"; 13 NSString* const kNotificationIncognito = @"notificationIncognito";
14 NSString* const kNotificationType = @"notificationType"; 14 NSString* const kNotificationType = @"notificationType";
15 NSString* const kNotificationHasSettingsButton =
16 @"notificationHasSettingsButton";
15 17
16 // Only applicable to the NotificationResponseBuilder 18 // Only applicable to the NotificationResponseBuilder
17 NSString* const kNotificationOperation = @"notificationOperation"; 19 NSString* const kNotificationOperation = @"notificationOperation";
18 NSString* const kNotificationButtonIndex = @"notificationButtonIndex"; 20 NSString* const kNotificationButtonIndex = @"notificationButtonIndex";
19 21
20 // Name of the XPC service 22 // Name of the XPC service
21 NSString* const kAlertXPCServiceName = @"%@.AlertNotificationService"; 23 NSString* const kAlertXPCServiceName = @"%@.AlertNotificationService";
22 24
23 } // notification_constants 25 } // notification_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698