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

Unified Diff: ash/system/tray/system_tray_item.h

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 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/system/tray/system_tray_delegate.cc ('k') | ash/system/tray/system_tray_item.cc » ('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 3926e702bcdec9d7f7bf279d1d1c13a5867c4c64..063c521f59b5ad95c7e08e6bd4b1ab7fdc2830b7 100644
--- a/ash/system/tray/system_tray_item.h
+++ b/ash/system/tray/system_tray_item.h
@@ -33,19 +33,19 @@ class ASH_EXPORT SystemTrayItem {
// automatically resizes the widget when the size of the view changes, and
// adds animation when the visibility of the view changes. If a view wants to
// avoid this behavior, then it should not be a TrayItemView.
- virtual views::View* CreateTrayView(user::LoginStatus status);
+ virtual views::View* CreateTrayView(LoginStatus status);
// 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(user::LoginStatus status);
+ virtual views::View* CreateDefaultView(LoginStatus status);
// Returns a detailed view for the item. This view is displayed standalone.
- virtual views::View* CreateDetailedView(user::LoginStatus status);
+ virtual views::View* CreateDetailedView(LoginStatus status);
// Returns a notification view for the item. This view is displayed with
// other notifications and should be the same size as default views.
- virtual views::View* CreateNotificationView(user::LoginStatus status);
+ virtual views::View* CreateNotificationView(LoginStatus status);
// These functions are called when the corresponding view item is about to be
// removed. An item should do appropriate cleanup in these functions.
@@ -59,7 +59,7 @@ class ASH_EXPORT SystemTrayItem {
// It is not necessary the update the default or detailed view, since the
// default/detailed popup is closed when login status changes. The default
// implementation does nothing.
- virtual void UpdateAfterLoginStatusChange(user::LoginStatus status);
+ virtual void UpdateAfterLoginStatusChange(LoginStatus status);
// Updates the tray view (if applicable) when shelf's alignment changes.
// The default implementation does nothing.
« no previous file with comments | « ash/system/tray/system_tray_delegate.cc ('k') | ash/system/tray/system_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698