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

Issue 2009733002: Draw nicer arrows when the scrollbar buttons are not square. (Closed)

Created:
4 years, 7 months ago by Bret
Modified:
4 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Draw nicer arrows when the scrollbar buttons are not square. Before they would look squished or messed up, but with this patch their bounding box is always square so we'll get the nice pixel pyramids that we want. This shouldn't change anything visually for the normal square scrollbar buttons. BUG=614297 Committed: https://crrev.com/91cbc6d7c2f02771ee3640a4b2f3376029b3bab0 Cr-Commit-Position: refs/heads/master@{#399626}

Patch Set 1 #

Patch Set 2 : minor edits #

Total comments: 6

Patch Set 3 : review edits #

Total comments: 2

Patch Set 4 : no floats allowed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -26 lines) Patch
M ui/native_theme/BUILD.gn View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_aura_unittest.cc View 1 2 3 1 chunk +86 lines, -16 lines 0 comments Download
M ui/native_theme/native_theme_base.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/native_theme/native_theme_base.cc View 1 2 3 5 chunks +15 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
Bret
4 years, 6 months ago (2016-06-07 00:26:25 UTC) #3
Bret
Changing reviewers because Evan is on vacation.
4 years, 6 months ago (2016-06-09 17:43:50 UTC) #5
Peter Kasting
https://codereview.chromium.org/2009733002/diff/20001/ui/native_theme/native_theme_base.cc File ui/native_theme/native_theme_base.cc (left): https://codereview.chromium.org/2009733002/diff/20001/ui/native_theme/native_theme_base.cc#oldcode388 ui/native_theme/native_theme_base.cc:388: path.offset(0, -1); What were these offsets for? https://codereview.chromium.org/2009733002/diff/20001/ui/native_theme/native_theme_base.cc File ...
4 years, 6 months ago (2016-06-10 01:03:23 UTC) #7
Bret
I also added the testsuite to GN because I noticed it was missing. https://codereview.chromium.org/2009733002/diff/20001/ui/native_theme/native_theme_base.cc File ...
4 years, 6 months ago (2016-06-11 00:11:43 UTC) #8
Peter Kasting
LGTM https://codereview.chromium.org/2009733002/diff/40001/ui/native_theme/native_theme_base.cc File ui/native_theme/native_theme_base.cc (right): https://codereview.chromium.org/2009733002/diff/40001/ui/native_theme/native_theme_base.cc#newcode414 ui/native_theme/native_theme_base.cc:414: bounding_rect.set_y(ceil(bounding_rect.y())); After thinking about this for a while, ...
4 years, 6 months ago (2016-06-11 02:19:27 UTC) #10
Bret
https://codereview.chromium.org/2009733002/diff/40001/ui/native_theme/native_theme_base.cc File ui/native_theme/native_theme_base.cc (right): https://codereview.chromium.org/2009733002/diff/40001/ui/native_theme/native_theme_base.cc#newcode414 ui/native_theme/native_theme_base.cc:414: bounding_rect.set_y(ceil(bounding_rect.y())); On 2016/06/11 02:19:27, Peter Kasting wrote: > After ...
4 years, 6 months ago (2016-06-13 18:02:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009733002/60001
4 years, 6 months ago (2016-06-13 18:03:51 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/86725)
4 years, 6 months ago (2016-06-13 21:01:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009733002/60001
4 years, 6 months ago (2016-06-13 22:17:03 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-14 00:52:07 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 00:52:24 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 00:53:37 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/91cbc6d7c2f02771ee3640a4b2f3376029b3bab0
Cr-Commit-Position: refs/heads/master@{#399626}

Powered by Google App Engine
This is Rietveld 408576698