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

Unified Diff: ash/system/date/date_view.cc

Issue 10815082: ash: Make sure the focus-border in the tray paints correctly, and tray-view should not be focusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/date_view.cc
diff --git a/ash/system/date/date_view.cc b/ash/system/date/date_view.cc
index 3ba47d67a2a7fb51097384e3c1286ce12bda12c6..e5defba971207c84970a6cc924fd26964e731798 100644
--- a/ash/system/date/date_view.cc
+++ b/ash/system/date/date_view.cc
@@ -164,6 +164,7 @@ TimeView::TimeView(TrayDate::ClockLayout clock_layout)
SetupLabels();
UpdateTextInternal(base::Time::Now());
UpdateClockLayout(clock_layout);
+ set_focusable(false);
}
TimeView::~TimeView() {
@@ -232,7 +233,6 @@ void TimeView::UpdateClockLayout(TrayDate::ClockLayout clock_layout){
layout->AddPaddingRow(0, kTrayLabelItemVerticalPaddingVeriticalAlignment);
}
Layout();
- set_focusable(true);
}
void TimeView::SetBorder(TrayDate::ClockLayout clock_layout) {
« no previous file with comments | « no previous file | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698