|
|
Handle view resize for ripple
This change updates ink drop ripples (especially, flood fill ripple) to
handle host view's size change to update their layer size. The main
change is that the flood fill ripple gets insets instead of bounds to
make it relative to the host's bounds. If a ripple is in progress, it
will snap to its final size immediately.
Ink drop highlight is still using a workaround to handle resize and will
be fixed in a follow-up CL.
BUG= 666175
TEST=manual
Committed: https://crrev.com/7dfd81cc1c15c4f3f9954c4180e24356395aed4c
Cr-Commit-Position: refs/heads/master@{#435002}
Total comments: 19
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+124 lines, -46 lines) |
Patch |
 |
M |
ash/common/shelf/app_list_button.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/shelf/overflow_button.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_background_view.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_background_view.cc
|
View
|
1
2
|
2 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_popup_utils.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
View
|
1
2
3
|
4 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/download/download_item_view.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/animation/flood_fill_ink_drop_ripple.h
|
View
|
1
2
|
4 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/animation/flood_fill_ink_drop_ripple.cc
|
View
|
1
2
|
2 chunks |
+42 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/animation/flood_fill_ink_drop_ripple_unittest.cc
|
View
|
1
2
|
3 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/views/animation/ink_drop_impl.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/animation/ink_drop_ripple.h
|
View
|
1
2
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/animation/ink_drop_ripple.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/animation/ink_drop_ripple_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/button/label_button.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/button/md_text_button.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 34 (22 generated)
|