|
|
Support notifications with custom content
- Add a NOTIFICATION_TYPE_CUSTOM;
- Add a NotificationDelegate::CreateCustomContent;
- Add a CustomNotificationView for NOTIFICATION_TYPE_CUSTOM that
hosts the View created in NotificationDelegate::CreateCustomContent
as its contents;
BUG= 610767
TEST=CustomNotificationViewTest.*
Committed: https://crrev.com/b36c784041e2dd9cd8d953b41dcd997d5be51dae
Cr-Commit-Position: refs/heads/master@{#394897}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+509 lines, -75 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_conversion_helper.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/BUILD.gn
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center.gyp
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_delegate.h
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/message_center/notification_delegate_views.cc
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_types.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
ui/message_center/views/custom_notification_view.h
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/message_center/views/custom_notification_view.cc
|
View
|
1
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/message_center/views/custom_notification_view_unittest.cc
|
View
|
1
2
|
1 chunk |
+242 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_center_view.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_popup_collection.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_view.h
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A |
ui/message_center/views/message_view_factory.h
|
View
|
1
2
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/message_center/views/message_view_factory.cc
|
View
|
1
2
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notification_view.h
|
View
|
1
2
|
2 chunks |
+5 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notification_view.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -47 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notification_view_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 23 (9 generated)
|