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

Unified Diff: ash/common/system/tray/system_menu_button.cc

Issue 2527513002: Update ash shelf/tray focus rects. (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/tray/actionable_view.cc ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_menu_button.cc
diff --git a/ash/common/system/tray/system_menu_button.cc b/ash/common/system/tray/system_menu_button.cc
index c724077b88fd1efb97cea33e7048f7ebc2de79a0..d9e04a22a644963269c57c41718252619656c2db 100644
--- a/ash/common/system/tray/system_menu_button.cc
+++ b/ash/common/system/tray/system_menu_button.cc
@@ -39,11 +39,9 @@ SystemMenuButton::SystemMenuButton(views::ButtonListener* listener,
SetTooltipText(l10n_util::GetStringUTF16(accessible_name_id));
- // TODO(tdanderson): Update the focus rect color, border thickness, and
- // location for material design.
SetFocusForPlatform();
SetFocusPainter(views::Painter::CreateSolidFocusPainter(
- kFocusBorderColor, gfx::Insets(1, 1, 1, 1)));
+ kFocusBorderColor, kFocusBorderThickness, gfx::InsetsF()));
SetInkDropMode(InkDropMode::ON);
set_has_ink_drop_action_on_click(true);
« no previous file with comments | « ash/common/system/tray/actionable_view.cc ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698