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

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

Issue 2558043006: ash: Use system tray mojo interface to show system update tray icon (Closed)
Patch Set: fix gcc Created 4 years 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/common/system/tray/system_tray_delegate.cc ('k') | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_item.h
diff --git a/ash/common/system/tray/system_tray_item.h b/ash/common/system/tray/system_tray_item.h
index 854bd2342aca980214e68f97285ecf80d60968e0..2e7ca00dd71c2103ba35b3908faf15b58a9bedd8 100644
--- a/ash/common/system/tray/system_tray_item.h
+++ b/ash/common/system/tray/system_tray_item.h
@@ -25,6 +25,10 @@ class SystemTray;
class SystemTrayBubble;
class TrayItemView;
+// Controller for an item in the system tray. Each item can create these views:
+// Tray view - The icon in the status area in the shelf.
+// Default view - The row in the top-level menu.
+// Detailed view - The submenu shown when the top-level menu row is clicked.
class ASH_EXPORT SystemTrayItem {
public:
// The different types of SystemTrayItems.
@@ -87,6 +91,7 @@ class ASH_EXPORT SystemTrayItem {
// Returns a notification view for the item. This view is displayed with
// other notifications and should be the same size as default views.
+ // DEPRECATED. Use the message center instead.
virtual views::View* CreateNotificationView(LoginStatus status);
// These functions are called when the corresponding view item is about to be
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.cc ('k') | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698