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

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

Issue 10829060: Remove the brightness control line from the uber tray bubble default view. (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/brightness/tray_brightness.cc
diff --git a/ash/system/brightness/tray_brightness.cc b/ash/system/brightness/tray_brightness.cc
index 33ced238cb0e604b287680efb3c15135901c19ed..3c5e0401137dce1b0048e7146bcf985406a46c09 100644
--- a/ash/system/brightness/tray_brightness.cc
+++ b/ash/system/brightness/tray_brightness.cc
@@ -161,10 +161,7 @@ views::View* TrayBrightness::CreateTrayView(user::LoginStatus status) {
}
views::View* TrayBrightness::CreateDefaultView(user::LoginStatus status) {
- CHECK(brightness_view_ == NULL);
- brightness_view_ = new tray::BrightnessView(current_percent_);
- is_default_view_ = true;
- return brightness_view_;
+ return NULL;
}
views::View* TrayBrightness::CreateDetailedView(user::LoginStatus status) {
« 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