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

Unified Diff: ash/system/power/tray_power.cc

Issue 10690031: Turn of ash notification tray by default for M21. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 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/ash_switches.cc ('k') | chrome/browser/about_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/power/tray_power.cc
===================================================================
--- ash/system/power/tray_power.cc (revision 144827)
+++ ash/system/power/tray_power.cc (working copy)
@@ -210,8 +210,7 @@
if (notification_view_)
notification_view_->UpdatePowerStatus(status);
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshNotifyDisabled)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshNotify)) {
if (UpdateNotificationState(status))
ShowNotificationView();
else if (notification_state_ == NOTIFICATION_NONE)
« no previous file with comments | « ash/ash_switches.cc ('k') | chrome/browser/about_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698