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

Unified Diff: ash/common/system/tray/actionable_view.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/actionable_view.cc
diff --git a/ash/common/system/tray/actionable_view.cc b/ash/common/system/tray/actionable_view.cc
index 309c8c591ec9fb4a03765cb012fb036cc34fdb2a..2dd90ed051d2ed1b49dc2d3cc17c47d390507161 100644
--- a/ash/common/system/tray/actionable_view.cc
+++ b/ash/common/system/tray/actionable_view.cc
@@ -42,9 +42,8 @@ ActionableView::~ActionableView() {
}
void ActionableView::OnPaintFocus(gfx::Canvas* canvas) {
- gfx::Rect rect(GetFocusBounds());
- rect.Inset(1, 1, 3, 2);
- canvas->DrawSolidFocusRect(rect, kFocusBorderColor);
+ gfx::RectF rect(GetFocusBounds());
+ canvas->DrawSolidFocusRect(rect, kFocusBorderColor, kFocusBorderThickness);
}
gfx::Rect ActionableView::GetFocusBounds() {

Powered by Google App Engine
This is Rietveld 408576698