|
The 1st patch to disambiguate message center notifications
This is the first half of the work to disambiguate the message center
notifications originated from different profiles.
It clarifies the semantics of message center as the backend of
notification by:
1) Adding comments on the usage of id in the MessageCenter interface.
2) Adding a FindVisibleNotificationById(id) method to message center
interface so users can directly find backend notifications without
going to the notification ui manager interface.
3) Removing the redundant HasNotification() method since the
FindVisibleNotificationById() can server the same purpose.
Reviewers:
* davemoore: please review chrome/browser/chromeos/*
* jamescook: please review ash/*
TBR=davemoore@chromium.org
BUG= 297867
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276756
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+120 lines, -82 lines) |
Patch |
 |
M |
ash/display/resolution_notification_controller_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/managed/tray_locally_managed_user.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_state_notifier_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/screen_security/screen_tray_item_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/session/tray_session_length_limit.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/web_notification/web_notification_tray_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/display/display_preferences_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/extension_welcome_notification.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/extension_welcome_notification_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_notification_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
|
View
|
|
2 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/cocoa/tray_view_controller.mm
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/fake_message_center.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/fake_message_center.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center.h
|
View
|
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center_impl.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center_impl.cc
|
View
|
|
8 chunks |
+11 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center_impl_unittest.cc
|
View
|
|
6 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_list.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_list.cc
|
View
|
1
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_list_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|