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

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

Issue 2271763005: Fix system tray focus on locked state screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_background_view.cc
diff --git a/ash/common/system/tray/tray_background_view.cc b/ash/common/system/tray/tray_background_view.cc
index 0e0a149d585fd86a113c79650020c7f6d57dbbaf..9866a1c9472ffc14016cb27541f607513e0a2bdc 100644
--- a/ash/common/system/tray/tray_background_view.cc
+++ b/ash/common/system/tray/tray_background_view.cc
@@ -542,6 +542,7 @@ void TrayBackgroundView::OnPaint(gfx::Canvas* canvas) {
shelf()->GetBackgroundType() ==
ShelfBackgroundType::SHELF_BACKGROUND_DEFAULT ||
!is_separator_visible_) {
+ ActionableView::OnPaint(canvas);
tdanderson 2016/08/24 16:20:17 You should be able to just have a single call to t
return;
}
// In the given |canvas|, draws a 1x32px separator line 4 pixel to the right
@@ -565,6 +566,7 @@ void TrayBackgroundView::OnPaint(gfx::Canvas* canvas) {
gfx::RectF rect(gfx::ScaleRect(gfx::RectF(bounds), scale));
canvas->DrawLine(horizontal_shelf ? rect.top_right() : rect.bottom_left(),
rect.bottom_right(), paint);
+ ActionableView::OnPaint(canvas);
}
} // namespace ash
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698