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

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

Issue 2583393002: Send notification to users upon receiving sms messages (Closed)
Patch Set: update return type Created 3 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/common/system/tray/system_tray_bubble.cc ('k') | ash/common/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/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 2e7ca00dd71c2103ba35b3908faf15b58a9bedd8..089423e8843d3cc6b9f7b725d10cff31aae7d425 100644
--- a/ash/common/system/tray/system_tray_item.h
+++ b/ash/common/system/tray/system_tray_item.h
@@ -89,18 +89,12 @@ class ASH_EXPORT SystemTrayItem {
// Returns a detailed view for the item. This view is displayed standalone.
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.
- // 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
// removed. An item should do appropriate cleanup in these functions.
// The default implementation does nothing.
virtual void DestroyTrayView();
virtual void DestroyDefaultView();
virtual void DestroyDetailedView();
- virtual void DestroyNotificationView();
// Updates the tray view (if applicable) when the user's login status changes.
// It is not necessary the update the default or detailed view, since the
@@ -137,12 +131,6 @@ class ASH_EXPORT SystemTrayItem {
// |animate| is false.
void HideDetailedView(bool animate);
- // Shows a notification for this item.
- void ShowNotificationView();
-
- // Hides the notification for this item.
- void HideNotificationView();
-
// Returns true if this item needs to force the shelf to be visible when
// the shelf is in the auto-hide state. Default is true.
virtual bool ShouldShowShelf() const;
« no previous file with comments | « ash/common/system/tray/system_tray_bubble.cc ('k') | ash/common/system/tray/system_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698