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

Unified Diff: ash/system/tray/system_tray_delegate.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/tray/system_tray.cc ('k') | ash/system/tray/system_tray_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 0c00325cdfc770c52c22b5a328b7d9bacbe77aef..88e49b4430292b2a48722ffc1d133efa741b9df5 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -6,6 +6,8 @@
#define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
#pragma once
+#include "ash/system/user/login_status.h"
+
class SkBitmap;
namespace ash {
@@ -18,6 +20,7 @@ class SystemTrayDelegate {
virtual const std::string GetUserDisplayName() = 0;
virtual const std::string GetUserEmail() = 0;
virtual const SkBitmap& GetUserImage() = 0;
+ virtual user::LoginStatus GetUserLoginStatus() = 0;
// Shows settings.
virtual void ShowSettings() = 0;
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698