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

Unified Diff: ash/system/chromeos/settings/tray_settings.cc

Issue 1014753003: Move low battery notification to Message Center. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « ash/system/chromeos/power/tray_power_unittest.cc ('k') | ash/system/system_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/settings/tray_settings.cc
diff --git a/ash/system/chromeos/settings/tray_settings.cc b/ash/system/chromeos/settings/tray_settings.cc
index c7f9039e1fcb4498f6eea057265c7c417ad12a40..f8325ec3db8b09162afdb00867ae221675aa2444 100644
--- a/ash/system/chromeos/settings/tray_settings.cc
+++ b/ash/system/chromeos/settings/tray_settings.cc
@@ -64,8 +64,7 @@ class SettingsDefaultView : public ActionableView,
}
if (PowerStatus::Get()->IsBatteryPresent()) {
- power_status_view_ = new ash::PowerStatusView(
- ash::PowerStatusView::VIEW_DEFAULT, power_view_right_align);
+ power_status_view_ = new ash::PowerStatusView(power_view_right_align);
AddChildView(power_status_view_);
OnPowerStatusChanged();
}
« no previous file with comments | « ash/system/chromeos/power/tray_power_unittest.cc ('k') | ash/system/system_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698