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

Issue 2583503002: Alpha for overlay scrollbars decreased when hovered. (Closed)

Created:
4 years ago by sahel
Modified:
4 years ago
Reviewers:
bokan, Evan Stade
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Alpha for overlay scrollbars decreased when hovered. BUG=669682 Committed: https://crrev.com/0f321688bc82199ce1551766e185ac6d9267ede5 Cr-Commit-Position: refs/heads/master@{#439583}

Patch Set 1 #

Total comments: 1

Patch Set 2 : three constant values for stroke alpha #

Total comments: 4

Patch Set 3 : Moved constants to function scope. #

Total comments: 2

Patch Set 4 : stroke_alpha only used in overlay case. #

Patch Set 5 : two switch cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -30 lines) Patch
M ui/native_theme/native_theme_aura.cc View 1 2 3 4 3 chunks +57 lines, -30 lines 0 comments Download

Messages

Total messages: 44 (30 generated)
sahel
4 years ago (2016-12-15 16:33:26 UTC) #9
bokan
lgtm % comment https://codereview.chromium.org/2583503002/diff/1/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2583503002/diff/1/ui/native_theme/native_theme_aura.cc#newcode229 ui/native_theme/native_theme_aura.cc:229: : thumb_alpha; for consistency, replace thumb_alpha ...
4 years ago (2016-12-15 17:59:28 UTC) #10
sahel
estade@chromium.org: Please review changes in
4 years ago (2016-12-15 20:30:35 UTC) #16
Evan Stade
https://codereview.chromium.org/2583503002/diff/20001/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2583503002/diff/20001/ui/native_theme/native_theme_aura.cc#newcode38 ui/native_theme/native_theme_aura.cc:38: constexpr SkAlpha kOverlayStrokeAlphaNormal = 0x4D; nit: the naming on ...
4 years ago (2016-12-15 22:02:49 UTC) #17
bokan
https://codereview.chromium.org/2583503002/diff/20001/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2583503002/diff/20001/ui/native_theme/native_theme_aura.cc#newcode38 ui/native_theme/native_theme_aura.cc:38: constexpr SkAlpha kOverlayStrokeAlphaNormal = 0x4D; On 2016/12/15 22:02:49, Evan ...
4 years ago (2016-12-15 22:05:30 UTC) #18
sahel
I changed the names and moved constants to the function scope.
4 years ago (2016-12-19 15:27:12 UTC) #23
Evan Stade
https://codereview.chromium.org/2583503002/diff/40001/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2583503002/diff/40001/ui/native_theme/native_theme_aura.cc#newcode220 ui/native_theme/native_theme_aura.cc:220: stroke_alpha = overlay ? kOverlayScrollbarStrokeAlphaPressed : 0x80; this ternary ...
4 years ago (2016-12-19 16:06:56 UTC) #24
sahel
https://codereview.chromium.org/2583503002/diff/40001/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2583503002/diff/40001/ui/native_theme/native_theme_aura.cc#newcode220 ui/native_theme/native_theme_aura.cc:220: stroke_alpha = overlay ? kOverlayScrollbarStrokeAlphaPressed : 0x80; On 2016/12/19 ...
4 years ago (2016-12-19 17:57:26 UTC) #29
Evan Stade
On 2016/12/19 17:57:26, sahel wrote: > https://codereview.chromium.org/2583503002/diff/40001/ui/native_theme/native_theme_aura.cc > File ui/native_theme/native_theme_aura.cc (right): > > https://codereview.chromium.org/2583503002/diff/40001/ui/native_theme/native_theme_aura.cc#newcode220 > ...
4 years ago (2016-12-19 18:18:38 UTC) #30
sahel
Changed as recommended.
4 years ago (2016-12-19 21:32:43 UTC) #35
Evan Stade
lgtm
4 years ago (2016-12-19 21:52:08 UTC) #36
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/2583503002/80001
4 years ago (2016-12-19 21:53:18 UTC) #39
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-19 21:59:56 UTC) #42
commit-bot: I haz the power
4 years ago (2016-12-19 22:03:37 UTC) #44
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0f321688bc82199ce1551766e185ac6d9267ede5
Cr-Commit-Position: refs/heads/master@{#439583}

Powered by Google App Engine
This is Rietveld 408576698