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

Unified Diff: chrome/browser/ui/cocoa/notifications/notification_builder_mac.mm

Issue 2047643003: DO NOT SUBMIT. Implement an XPCService for notifications. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge to use AlertNotificationService Created 4 years, 5 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/notifications/notification_builder_mac.mm
diff --git a/chrome/browser/ui/cocoa/notifications/notification_builder_mac.mm b/chrome/browser/ui/cocoa/notifications/notification_builder_mac.mm
index 6bd715d014c4ea9f299e191168c25cf95fabd5e6..ed5681d577f97ea9a3340205e1ee9b5b43517e6d 100644
--- a/chrome/browser/ui/cocoa/notifications/notification_builder_mac.mm
+++ b/chrome/browser/ui/cocoa/notifications/notification_builder_mac.mm
@@ -123,9 +123,10 @@ NSString* const kNotificationSettingsButtonTag = @"settingsButton";
base::scoped_nsobject<NSUserNotification> toast(
[[NSUserNotification alloc] init]);
[toast setTitle:[notificationData_ objectForKey:kNotificationTitle]];
- [toast setSubtitle:[notificationData_ objectForKey:kNotificationSubTitle]];
[toast setInformativeText:[notificationData_
- objectForKey:kNotificationInformativeText]];
+ objectForKey:kNotificationSubTitle]];
+ [toast setSubtitle:[notificationData_
+ objectForKey:kNotificationInformativeText]];
// Icon
if ([notificationData_ objectForKey:kNotificationImage]) {

Powered by Google App Engine
This is Rietveld 408576698