|
Made notification center notifications collapsible and expandable.
Implemented collapse/expand for notifications in the notification
center. Notifications are collapsed by default and can be expanded by
pressing their expand button. Once expanded, they can't be collapsed
again.
Limitations of this version are:
1) Notifications in alerts/toasts are not affected (they're always expanded).
2) Notifications get expand buttons even if they have no content to expand.
3) Collapsed text is always collapsed to 1 lines (not 2 or 3 as required) and expanded text
is always expanded to its full height (not limited to 7 lines as
required).
4) Notification expansion is lost when notifications are
added to the notification center or when the notification center is
closed and opened again. These issues will be addressed in separate
change lists.
BUG= 161098
TBR=stevenjb@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186873
Total comments: 20
Total comments: 12
Total comments: 6
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+606 lines, -404 lines) |
Patch |
 |
M |
ash/system/web_notification/web_notification_tray_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/notifications/notifications_apitest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_crash_recovery_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_notification_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/message_center/web_notification_tray_win_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+22 lines, -15 lines |
0 comments
|
Download
|
 |
|
ui/message_center/message_center.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+27 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center.gyp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center_tray.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/notification.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
ui/message_center/notification_change_observer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_list.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_list.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_list_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -28 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_bubble_base.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_bubble_base.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_center_bubble.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_center_bubble.cc
|
View
|
1
2
3
4
5
6
7
8
|
16 chunks |
+169 lines, -107 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_popup_bubble.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_popup_bubble.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_popup_collection.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_popup_collection.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_simple_view.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_simple_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_view.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+21 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_view.cc
|
View
|
1
2
3
4
5
6
7
|
11 chunks |
+46 lines, -21 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notification_view.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+20 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notification_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
10 chunks |
+144 lines, -83 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notifier_settings_view.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notifier_settings_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|