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

Issue 900163002: Make ShadowBorder use ShadowValue. (Closed)

Created:
5 years, 10 months ago by calamity
Modified:
5 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_animations
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ShadowBorder use ShadowValue. This CL makes ShadowBorder depend on ShadowValue more rather than doing independent calculations. It also adds a constructor that takes a ShadowValue. BUG=None Committed: https://crrev.com/c90126cf6f3e1e0c9fb78e83950c26f10fe5a154 Cr-Commit-Position: refs/heads/master@{#315250}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -50 lines) Patch
M chrome/browser/ui/views/message_center/message_center_frame_view.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M ui/app_list/views/search_box_view.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ui/app_list/views/search_result_page_view.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M ui/app_list/views/speech_view.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M ui/message_center/views/message_view.cc View 1 2 chunks +4 lines, -5 lines 0 comments Download
M ui/views/shadow_border.h View 1 3 chunks +6 lines, -15 lines 0 comments Download
M ui/views/shadow_border.cc View 1 2 1 chunk +20 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
calamity
5 years, 10 months ago (2015-02-05 06:38:00 UTC) #3
sky
https://codereview.chromium.org/900163002/diff/20001/ui/views/shadow_border.cc File ui/views/shadow_border.cc (right): https://codereview.chromium.org/900163002/diff/20001/ui/views/shadow_border.cc#newcode43 ui/views/shadow_border.cc:43: bounds.Inset(gfx::ShadowValue::GetMargin(shadows).Scale(-1)); While this looks right did you make sure ...
5 years, 10 months ago (2015-02-05 17:33:32 UTC) #4
calamity
https://codereview.chromium.org/900163002/diff/20001/ui/views/shadow_border.cc File ui/views/shadow_border.cc (right): https://codereview.chromium.org/900163002/diff/20001/ui/views/shadow_border.cc#newcode43 ui/views/shadow_border.cc:43: bounds.Inset(gfx::ShadowValue::GetMargin(shadows).Scale(-1)); On 2015/02/05 17:33:32, sky wrote: > While this ...
5 years, 10 months ago (2015-02-06 05:29:53 UTC) #6
sky
LGTM https://codereview.chromium.org/900163002/diff/60001/ui/views/shadow_border.cc File ui/views/shadow_border.cc (right): https://codereview.chromium.org/900163002/diff/60001/ui/views/shadow_border.cc#newcode22 ui/views/shadow_border.cc:22: } nit: newline between the two '}' and ...
5 years, 10 months ago (2015-02-06 15:43:28 UTC) #7
calamity
https://codereview.chromium.org/900163002/diff/60001/ui/views/shadow_border.cc File ui/views/shadow_border.cc (right): https://codereview.chromium.org/900163002/diff/60001/ui/views/shadow_border.cc#newcode22 ui/views/shadow_border.cc:22: } On 2015/02/06 15:43:28, sky wrote: > nit: newline ...
5 years, 10 months ago (2015-02-08 23:55:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900163002/80001
5 years, 10 months ago (2015-02-08 23:55:38 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 10 months ago (2015-02-09 00:38:35 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 00:39:51 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c90126cf6f3e1e0c9fb78e83950c26f10fe5a154
Cr-Commit-Position: refs/heads/master@{#315250}

Powered by Google App Engine
This is Rietveld 408576698