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

Unified Diff: ash/system/brightness/tray_brightness.cc

Issue 10086005: ash: Show better focus rects for the tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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
Index: ash/system/brightness/tray_brightness.cc
diff --git a/ash/system/brightness/tray_brightness.cc b/ash/system/brightness/tray_brightness.cc
index 5203af92f88759faa73b715b1145be8dad642a49..13d7156bbd1678bcc06cfeb106734ce06ff42ff2 100644
--- a/ash/system/brightness/tray_brightness.cc
+++ b/ash/system/brightness/tray_brightness.cc
@@ -56,6 +56,7 @@ class BrightnessView : public views::View,
AddChildView(icon);
slider_ = new views::Slider(this, views::Slider::HORIZONTAL);
+ slider_->set_focus_color(kFocusBorderColor);
slider_->SetValue(static_cast<float>(initial_percent / 100.0));
slider_->SetAccessibleName(
ui::ResourceBundle::GetSharedInstance().GetLocalizedString(

Powered by Google App Engine
This is Rietveld 408576698