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

Unified Diff: ash/shell.cc

Issue 9580024: ash uber tray: Allow customizing each item depending on whether the user is logged in or not. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing file Created 8 years, 10 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_strings.grd ('k') | ash/system/audio/tray_volume.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 519c9eef4907c13197eb9b588909b22a4ef5ab50..df2e8b05022e4653f502053d8b45b5240075f4bd 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -22,7 +22,7 @@
#include "ash/system/power/tray_power_date.h"
#include "ash/system/tray/system_tray_delegate.h"
#include "ash/system/tray/system_tray.h"
-#include "ash/system/tray_user.h"
+#include "ash/system/user/tray_user.h"
#include "ash/tooltips/tooltip_controller.h"
#include "ash/wm/activation_controller.h"
#include "ash/wm/base_layout_manager.h"
@@ -205,6 +205,10 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
return null_image_;
}
+ virtual user::LoginStatus GetUserLoginStatus() OVERRIDE {
+ return user::LOGGED_IN_USER;
+ }
+
virtual void ShowSettings() OVERRIDE {
}
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/audio/tray_volume.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698