New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 652478 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocking:
issue 615892



Sign in to add a comment

Use GoogleBlue500 for focus rectangles

Project Member Reported by varkha@chromium.org, Oct 3 2016

Issue description

SkColorSetRGB(64, 128, 250) is substantially close to GoogleBlue500 which is SkColorSetRGB(0x42, 0x85, 0xF4). We should use gfx::GoogleBlue500 or GetNativeTheme()->GetSystemColor(ui::NativeTheme::kColorId_ProminentButtonColor) instead.

https://cs.chromium.org/search/?q=%22SkColorSetRGB(64,+128,+250)%22&sq=package:chromium&type=cs
 
or kColorId_FocusedBorderColor  ... :) :(
Blocking: 615892
Labels: -M-55 M-56

Comment 4 by est...@chromium.org, Nov 22 2016

Owner: est...@chromium.org
Status: Started (was: Assigned)
Labels: -M-56 M-57
Project Member

Comment 6 by bugdroid1@chromium.org, Nov 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e69c1ffdb22164631d597a6b44c83ecd515d5281

commit e69c1ffdb22164631d597a6b44c83ecd515d5281
Author: estade <estade@chromium.org>
Date: Wed Nov 30 17:23:54 2016

Update ash shelf/tray focus rects.

Also improve Canvas::DrawSolidFocusRect and
Painter::CreateSolidFocusPainter.

BUG=658783, 652478 ,615892

Review-Url: https://codereview.chromium.org/2527513002
Cr-Commit-Position: refs/heads/master@{#435309}

[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/ash_constants.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/ash_constants.h
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/shelf/app_list_button.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/shelf/shelf_button.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/system/tray/actionable_view.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/system/tray/system_menu_button.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/system/tray/tray_background_view.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/system/tray/tray_popup_utils.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/system/tray/tray_popup_utils.h
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ash/common/system/user/button_from_view.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ui/gfx/canvas.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ui/gfx/canvas.h
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ui/views/controls/slider.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ui/views/controls/slider.h
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ui/views/painter.cc
[modify] https://crrev.com/e69c1ffdb22164631d597a6b44c83ecd515d5281/ui/views/painter.h

Comment 7 by est...@chromium.org, Nov 30 2016

Status: Fixed (was: Started)

Comment 8 by varkha@chromium.org, Nov 30 2016

Is notification bubble focus rects something that belongs here or is it tracked separately?

Comment 9 by est...@chromium.org, Nov 30 2016

If you are talking about the bubbles used by the message center, separate.
Status: Verified (was: Fixed)

Sign in to add a comment