|
|
Reland of "Apply Shelf/Dock opacity animations for the Material Design style."
The Shelf animates between the 3 ShelfBackgroundType's using 2
different animations; one uses BackgroundAnimator timers and
View::OnPaint() and the other uses a Layer to animate the
SHELF_BACKGROUND_MAXIMIZED opaque background.
This change centralizes the animation logic so they all stay in sync
and applies the opacity animations to the material design style
Shelf/Dock.
Eventually the ShelfBackgroundAnimator will be enhanced to animate
between colors instead of just alpha values.
Follow-up plans:
- Use a single instance of the ShelfBackgroundAnimator.
- Remove the |opaque_background_| from ShelfWidget and
DockedBackgroundWidget.
- Collapse the multiple BackgroundAnimators owned by the
ShelfBackgroundAnimator into a single SlideAnimation.
- Animate the MD AppList and Overflow buttons.
BUG= 607037
Committed: https://crrev.com/a2239af6304ceaac998a487cf3cd09e9c23ebfc5
Cr-Commit-Position: refs/heads/master@{#409211}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1067 lines, -304 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shelf_aura.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/material_design/material_design_controller_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/shelf/app_list_button.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/app_list_button.cc
|
View
|
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/overflow_button.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/overflow_button.cc
|
View
|
|
3 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
A |
ash/common/shelf/shelf_background_animator.h
|
View
|
1
2
3
|
1 chunk |
+137 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/common/shelf/shelf_background_animator.cc
|
View
|
1
2
3
|
1 chunk |
+206 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/common/shelf/shelf_background_animator_observer.h
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/common/shelf/shelf_background_animator_unittest.cc
|
View
|
|
1 chunk |
+411 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/wm_shelf_observer.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/power/power_status_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/status_area_widget.h
|
View
|
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/status_area_widget.cc
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_background_view.h
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_background_view.cc
|
View
|
|
4 chunks |
+13 lines, -18 lines |
0 comments
|
Download
|
 |
A + |
ash/common/test/material_design_controller_test_api.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
ash/common/test/material_design_controller_test_api.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/wm/background_animator.h
|
View
|
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/wm/background_animator.cc
|
View
|
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/wm/dock/docked_window_layout_manager.cc
|
View
|
|
6 chunks |
+27 lines, -35 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.cc
|
View
|
|
2 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget.h
|
View
|
1
|
6 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget.cc
|
View
|
1
2
3
|
14 chunks |
+98 lines, -94 lines |
0 comments
|
Download
|
 |
M |
ash/test/ash_md_test_base.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/test/ash_md_test_base.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/test/ash_test_helper.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/test/ash_test_helper.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
ash/test/material_design_controller_test_api.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
ash/test/material_design_controller_test_api.cc
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
 |
M |
ash/wm/overview/window_selector_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 19 (12 generated)
|