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

Unified Diff: ash/system/user/tray_user.h

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/system/user/login_status.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user.h
diff --git a/ash/system/tray_user.h b/ash/system/user/tray_user.h
similarity index 64%
rename from ash/system/tray_user.h
rename to ash/system/user/tray_user.h
index 2baede72fc7629694ea81afca6bd90ae4a16b298..167784db604c922c56dc2e076b89bb3375ab4001 100644
--- a/ash/system/tray_user.h
+++ b/ash/system/user/tray_user.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SYSTEM_TRAY_USER_H_
-#define ASH_SYSTEM_TRAY_USER_H_
+#ifndef ASH_SYSTEM_USER_TRAY_USER_H_
+#define ASH_SYSTEM_USER_TRAY_USER_H_
#pragma once
#include "ash/system/tray/system_tray_item.h"
@@ -18,9 +18,9 @@ class TrayUser : public SystemTrayItem {
private:
// Overridden from SystemTrayItem
- virtual views::View* CreateTrayView() OVERRIDE;
- virtual views::View* CreateDefaultView() OVERRIDE;
- virtual views::View* CreateDetailedView() OVERRIDE;
+ virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
+ virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
+ virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE;
virtual void DestroyTrayView() OVERRIDE;
virtual void DestroyDefaultView() OVERRIDE;
virtual void DestroyDetailedView() OVERRIDE;
@@ -31,4 +31,4 @@ class TrayUser : public SystemTrayItem {
} // namespace internal
} // namespace ash
-#endif // ASH_SYSTEM_TRAY_USER_H_
+#endif // ASH_SYSTEM_USER_TRAY_USER_H_
« no previous file with comments | « ash/system/user/login_status.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698