|
Implement progress bar spec (determinate and indeterminate).
This takes the implementation from the notification center
(used for downloads) and moves it into views::. The color
is updated as per sgabriel's orders to Blue 500, a default
height of 5 is applied (shared in app list and notification
center) but lesser heights are also permitted. If the height
is small enough, we don't round the corners, which is exactly
what we'll want for the cros detail views.
The base views::ProgressBar class was not used on its own anywhere,
and it had a lot of code that wasn't used either. All the progress
bar classes are consolidated into a single class and unused code
is culled.
BUG= 626846
Committed: https://crrev.com/a62b6b27f42e7259f7d3884184dce068de18b756
Cr-Commit-Position: refs/heads/master@{#418676}
Total comments: 6
Total comments: 12
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+258 lines, -754 lines) |
Patch |
 |
M |
ash/autoclick/common/autoclick_ring_handler.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/notification/download_item_notification.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/status_bubble_views.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/resources/app_list_resources.grd
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_100_percent/common/app_list_progress_bar_background.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_100_percent/common/app_list_progress_bar_center.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_100_percent/common/app_list_progress_bar_left.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_100_percent/common/app_list_progress_bar_right.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_200_percent/common/app_list_progress_bar_background.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_200_percent/common/app_list_progress_bar_center.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_200_percent/common/app_list_progress_bar_left.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
D |
ui/app_list/resources/default_200_percent/common/app_list_progress_bar_right.png
|
View
|
1
2
|
Binary file |
0 comments
|
Download
|
 |
M |
ui/app_list/views/app_list_item_view.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/app_list_item_view.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
ui/app_list/views/progress_bar_view.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
ui/app_list/views/progress_bar_view.cc
|
View
|
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/search_result_list_view_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/search_result_view.h
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/search_result_view.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/animation/animation_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/animation/linear_animation.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gfx/animation/linear_animation.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/animation/slide_animation.cc
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center_style.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
D |
ui/message_center/views/notification_progress_bar.h
|
View
|
|
1 chunk |
+0 lines, -64 lines |
0 comments
|
Download
|
 |
D |
ui/message_center/views/notification_progress_bar.cc
|
View
|
|
1 chunk |
+0 lines, -185 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notification_view.h
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notification_view.cc
|
View
|
1
2
3
4
|
6 chunks |
+18 lines, -42 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/progress_bar.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+34 lines, -32 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/progress_bar.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+149 lines, -259 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/progress_bar_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -12 lines |
0 comments
|
Download
|
 |
M |
ui/views/examples/progress_bar_example.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+26 lines, -14 lines |
0 comments
|
Download
|
Total messages: 40 (25 generated)
|