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

Unified Diff: ash/system/tray/system_tray_item.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_delegate.h ('k') | ash/system/tray_user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_item.h
diff --git a/ash/system/tray/system_tray_item.h b/ash/system/tray/system_tray_item.h
index ab0d7e7e7a2bd6643d3c48168a05374261e80d54..c7d4ba69bfcd11da0498b34867086a4dfb81e54b 100644
--- a/ash/system/tray/system_tray_item.h
+++ b/ash/system/tray/system_tray_item.h
@@ -7,6 +7,7 @@
#pragma once
#include "ash/ash_export.h"
+#include "ash/system/user/login_status.h"
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
@@ -23,15 +24,15 @@ class ASH_EXPORT SystemTrayItem {
// Returns a view to be displayed in the system tray. If this returns NULL,
// then this item is not displayed in the tray.
- virtual views::View* CreateTrayView() = 0;
+ virtual views::View* CreateTrayView(user::LoginStatus status) = 0;
// Returns a view for the item to be displayed in the list. This view can be
// displayed with a number of other tray items, so this should not be too
// big.
- virtual views::View* CreateDefaultView() = 0;
+ virtual views::View* CreateDefaultView(user::LoginStatus status) = 0;
// Returns a detailed view for the item. This view is displayed standalone.
- virtual views::View* CreateDetailedView() = 0;
+ virtual views::View* CreateDetailedView(user::LoginStatus status) = 0;
// These functions are called when the corresponding view item is about to be
// removed. An item should do appropriate cleanup in these functions.
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | ash/system/tray_user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698