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

Issue 1711233002: Switch inactive tab highlight color from "white" to "active tab color". (Closed)

Created:
4 years, 10 months ago by Peter Kasting
Modified:
4 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cleanup
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch inactive tab highlight color from "white" to "active tab color". This looks significantly better in dark themes (e.g. MD incognito). As part of this, raised the opacity from 25% back to 45%. (I came down from 50% originally to tone down the effect so as to make MD incognito tabs not look awful, but Sebastien still didn't like it, and this is a better fix anyway. I also had originally reduced the diameter of the hover effect; that change is kept.) BUG=584372 TEST=Run with --top-chrome-md=material, open an incognito window, add more tabs, hover background tabs, and ensure the portion of the hover highlight that tracks the tip of the mouse cursor is subtle and not a bright white. Committed: https://crrev.com/42b2a447258510d20b704550568c99d20376425d Cr-Commit-Position: refs/heads/master@{#377285}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M chrome/browser/ui/views/tabs/tab.cc View 1 7 chunks +17 lines, -13 lines 0 comments Download
M ui/views/controls/glow_hover_controller.cc View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (4 generated)
Peter Kasting
4 years, 10 months ago (2016-02-19 00:46:15 UTC) #2
sky
LGTM https://codereview.chromium.org/1711233002/diff/1/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/1711233002/diff/1/chrome/browser/ui/views/tabs/tab.cc#newcode1290 chrome/browser/ui/views/tabs/tab.cc:1290: const int a = pinned_title_change_animation_->CurrentValueBetween(255, 0); nit: use ...
4 years, 10 months ago (2016-02-19 19:09:59 UTC) #3
Peter Kasting
https://codereview.chromium.org/1711233002/diff/1/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/1711233002/diff/1/chrome/browser/ui/views/tabs/tab.cc#newcode1290 chrome/browser/ui/views/tabs/tab.cc:1290: const int a = pinned_title_change_animation_->CurrentValueBetween(255, 0); On 2016/02/19 19:09:59, ...
4 years, 10 months ago (2016-02-24 12:29:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1711233002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1711233002/20001
4 years, 10 months ago (2016-02-24 14:00:06 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-24 14:08:37 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 14:10:11 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/42b2a447258510d20b704550568c99d20376425d
Cr-Commit-Position: refs/heads/master@{#377285}

Powered by Google App Engine
This is Rietveld 408576698