|
Implement Non-Closable Notification
This patch adds pinned notifications, which can't be removed by user from the message center. This feature is only for ChromeOS, since the message center doesn't exist on the other platforms.
All toasts must be closable. But if the closing toast has non-closable attribute, it'll be kept in the message center after closing.
BUG= 565005
R=dewittj@chromium.org
Committed: https://crrev.com/35c9a3b689e257570a0ba08af1c6e0dc18ac3cc1
Cr-Commit-Position: refs/heads/master@{#377517}
Total comments: 8
Total comments: 15
Total comments: 9
Total comments: 11
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+506 lines, -114 lines) |
Patch |
|
M |
ash/accelerators/accelerator_controller_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/content/display/screen_orientation_controller_chromeos_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/system/web_notification/web_notification_tray_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/notifications/notifications_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/notifications/message_center_notification_manager.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.mm
|
View
|
1
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/message_center/fake_message_center.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
ui/message_center/fake_message_center.cc
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
ui/message_center/message_center.h
|
View
|
1
2
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/message_center/message_center_impl.h
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
ui/message_center/message_center_impl.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -11 lines |
0 comments
|
Download
|
|
M |
ui/message_center/message_center_impl_unittest.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/message_center/notification.h
|
View
|
1
2
3
4
5
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/message_center/notification.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_center_button_bar.h
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_center_button_bar.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_center_view.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_center_view.cc
|
View
|
1
2
|
2 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_center_view_unittest.cc
|
View
|
1
2
3
|
14 chunks |
+117 lines, -6 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_list_view.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_list_view.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_popup_collection.cc
|
View
|
1
2
3
4
|
2 chunks |
+34 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_popup_collection_unittest.cc
|
View
|
1
2
|
2 chunks |
+40 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_view.h
|
View
|
1
2
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/message_view.cc
|
View
|
1
2
|
6 chunks |
+7 lines, -31 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/notification_view.h
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/notification_view.cc
|
View
|
1
2
|
8 chunks |
+61 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/message_center/views/notification_view_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+99 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/views/controls/slide_out_view.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/views/controls/slide_out_view.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+27 lines, -12 lines |
0 comments
|
Download
|
Total messages: 52 (31 generated)
|