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

Issue 2960393002: Hardcode ripple color/opacity for Harmony. (Closed)

Created:
3 years, 5 months ago by tapted
Modified:
3 years, 3 months ago
Reviewers:
CC:
chromium-reviews, tfarina, bruthig+ink_drop_chromium.org, dcheng, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Hardcode ripple color/opacity for Harmony. Text colors are changing under harmony. Ripple colors are not. Currently the ripple color comes from GetInkDropBaseColor() which tends to be derived from text color or something derived, again, from that e.g. via color_utils::DeriveDefaultIconColor(). Specs just say ripples should be black, with 0.05 opacity. Do that for LabelButton, MdTextButton, and Combobox when --secondary-ui-md is set. Aim to reduce the reliance on GetInkDropBaseColor() under Harmony, since it should be constant. BUG=691891

Patch Set 1 #

Patch Set 2 : Consolidate FloodFill as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -35 lines) Patch
M ui/views/animation/ink_drop_host_view.h View 1 2 chunks +13 lines, -3 lines 0 comments Download
M ui/views/animation/ink_drop_host_view.cc View 1 5 chunks +28 lines, -5 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 2 chunks +5 lines, -9 lines 0 comments Download
M ui/views/controls/button/md_text_button.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M ui/views/controls/button/md_text_button.cc View 1 2 chunks +3 lines, -7 lines 0 comments Download
M ui/views/controls/combobox/combobox.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (11 generated)
Peter Kasting
Hey, I seem to have totally missed this. Is it still valuable? If so I'm ...
3 years, 3 months ago (2017-08-29 04:02:59 UTC) #11
tapted
On 2017/08/29 04:02:59, Peter Kasting wrote: > Hey, I seem to have totally missed this. ...
3 years, 3 months ago (2017-08-31 00:35:36 UTC) #12
Peter Kasting
3 years, 3 months ago (2017-08-31 01:07:39 UTC) #14
On 2017/08/31 00:35:36, tapted wrote:
> Anyway, I'll upload a new CL in gerrit if I pick this up again.

OK, closing.

Powered by Google App Engine
This is Rietveld 408576698