Update ash resize shadow aesthetics

Desktop / Chromium - estade [chromium.org] - 23 March 2017 12:38 EDT

1. Draw programmatically instead of tiling pngs. 2. Use a resource layer (NinePatchLayer) instead of a texture layer.

BUG=702856,244519

Review-Url: https://codereview.chromium.org/2762793002 Cr-Commit-Position: refs/heads/master@{#459114}

09bbc93 Update ash resize shadow aesthetics.
ash/resources/ash_resources.grd | 8 -
.../common/resize_shadow_bottom.png | Bin 67 -> 0 bytes
.../common/resize_shadow_bottom_left.png | Bin 76 -> 0 bytes
.../common/resize_shadow_bottom_right.png | Bin 76 -> 0 bytes
.../common/resize_shadow_left.png | Bin 67 -> 0 bytes
.../common/resize_shadow_right.png | Bin 67 -> 0 bytes
.../common/resize_shadow_top.png | Bin 67 -> 0 bytes
.../common/resize_shadow_top_left.png | Bin 79 -> 0 bytes
.../common/resize_shadow_top_right.png | Bin 81 -> 0 bytes
ash/wm/resize_shadow.cc | 184 ++++++-----
ash/wm/resize_shadow.h | 38 ++-
ash/wm/resize_shadow_and_cursor_unittest.cc | 47 ++-
ash/wm/resize_shadow_controller.cc | 18 +-
ash/wm/resize_shadow_controller.h | 5 +-
ui/wm/BUILD.gn | 3 -
ui/wm/core/image_grid.cc | 340 --------------------
ui/wm/core/image_grid.h | 221 -------------
ui/wm/core/image_grid_unittest.cc | 344 ---------------------
18 files changed, 178 insertions(+), 1030 deletions(-)

Upstream: git.chromium.org


  • Share