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

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

Issue 2527513002: Update ash shelf/tray focus rects. (Closed)
Patch Set: fixes Created 4 years, 1 month 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
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 e841d7e80ad80e6eb66560600d427b362736f29c..e461a8cae8ec4265b1d73678300a526468fca5a1 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);

Powered by Google App Engine
This is Rietveld 408576698