Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Issue 2550593002: Update WM shadows for MD. (Closed)

Created:
4 years ago by Evan Stade
Modified:
4 years ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, rsesek+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update WM shadows for MD. The shadows are still tiled by a ninebox layer, but the images that are tiled are drawn programatically instead of using assets. BUG=608852 Committed: https://crrev.com/d1acf8520e37fe497857946d2171989ad3feddd8 Cr-Commit-Position: refs/heads/master@{#437046}

Patch Set 1 #

Patch Set 2 : work better #

Patch Set 3 : fix corners #

Total comments: 41

Patch Set 4 : jamescook review + resolve merge #

Patch Set 5 : fix test #

Patch Set 6 : fix test #

Patch Set 7 : improve legibility #

Total comments: 8

Patch Set 8 : sky review #

Patch Set 9 : fix border for small windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -267 lines) Patch
M ash/common/frame/default_header_painter.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_header_painter_ash.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
M ui/gfx/image/image_skia_operations.h View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
M ui/gfx/image/image_skia_operations.cc View 1 2 3 4 5 6 7 5 chunks +64 lines, -11 lines 0 comments Download
M ui/gfx/shadow_value.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/shadow_value.cc View 1 2 3 4 5 6 7 2 chunks +35 lines, -22 lines 0 comments Download
M ui/wm/core/shadow.h View 1 2 3 2 chunks +6 lines, -8 lines 0 comments Download
M ui/wm/core/shadow.cc View 1 2 3 4 5 6 7 8 4 chunks +92 lines, -88 lines 0 comments Download
M ui/wm/core/shadow_unittest.cc View 1 2 3 1 chunk +27 lines, -130 lines 0 comments Download

Messages

Total messages: 35 (25 generated)
Evan Stade
James, ptal (I will add more relevant owners later if this lgty).
4 years ago (2016-12-05 23:04:41 UTC) #5
James Cook
Overall, I like it. https://codereview.chromium.org/2550593002/diff/40001/ash/common/frame/default_header_painter.cc File ash/common/frame/default_header_painter.cc (right): https://codereview.chromium.org/2550593002/diff/40001/ash/common/frame/default_header_painter.cc#newcode146 ash/common/frame/default_header_painter.cc:146: paint.setAntiAlias(true); Why does this now ...
4 years ago (2016-12-05 23:38:36 UTC) #8
Evan Stade
thanks for the expeditious review! https://codereview.chromium.org/2550593002/diff/40001/ash/common/frame/default_header_painter.cc File ash/common/frame/default_header_painter.cc (right): https://codereview.chromium.org/2550593002/diff/40001/ash/common/frame/default_header_painter.cc#newcode146 ash/common/frame/default_header_painter.cc:146: paint.setAntiAlias(true); On 2016/12/05 23:38:35, ...
4 years ago (2016-12-06 00:53:22 UTC) #9
James Cook
LGTM assuming the test failures aren't a significant problem. https://codereview.chromium.org/2550593002/diff/40001/ui/wm/core/shadow.cc File ui/wm/core/shadow.cc (right): https://codereview.chromium.org/2550593002/diff/40001/ui/wm/core/shadow.cc#newcode40 ui/wm/core/shadow.cc:40: ...
4 years ago (2016-12-06 18:17:51 UTC) #14
Evan Stade
+sky for OWNERS of everything https://codereview.chromium.org/2550593002/diff/40001/ui/gfx/shadow_value.cc File ui/gfx/shadow_value.cc (right): https://codereview.chromium.org/2550593002/diff/40001/ui/gfx/shadow_value.cc#newcode30 ui/gfx/shadow_value.cc:30: static_cast<int>(shadow.blur() / (include_inner_blur ? ...
4 years ago (2016-12-07 01:56:42 UTC) #18
sky
LGTM https://codereview.chromium.org/2550593002/diff/120001/ui/gfx/image/image_skia_operations.cc File ui/gfx/image/image_skia_operations.cc (right): https://codereview.chromium.org/2550593002/diff/120001/ui/gfx/image/image_skia_operations.cc#newcode443 ui/gfx/image/image_skia_operations.cc:443: float corner_radius_; const https://codereview.chromium.org/2550593002/diff/120001/ui/gfx/shadow_value.cc File ui/gfx/shadow_value.cc (right): https://codereview.chromium.org/2550593002/diff/120001/ui/gfx/shadow_value.cc#newcode42 ...
4 years ago (2016-12-07 16:39:32 UTC) #23
Evan Stade
https://codereview.chromium.org/2550593002/diff/120001/ui/gfx/image/image_skia_operations.cc File ui/gfx/image/image_skia_operations.cc (right): https://codereview.chromium.org/2550593002/diff/120001/ui/gfx/image/image_skia_operations.cc#newcode443 ui/gfx/image/image_skia_operations.cc:443: float corner_radius_; On 2016/12/07 16:39:32, sky wrote: > const ...
4 years ago (2016-12-07 18:55:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2550593002/160001
4 years ago (2016-12-07 19:43:47 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years ago (2016-12-07 20:23:51 UTC) #33
commit-bot: I haz the power
4 years ago (2016-12-07 20:25:47 UTC) #35
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d1acf8520e37fe497857946d2171989ad3feddd8
Cr-Commit-Position: refs/heads/master@{#437046}

Powered by Google App Engine
This is Rietveld 408576698