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

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

Issue 10332152: Add TraySms for SMS messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bubble sizing code Created 8 years, 7 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/network/tray_sms.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.h
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index 24e8257e3ef94eaddda38f23ea5fc1d267c9417d..c818b4b1a0ce74cb2b2199359f6460845caf1a9f 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -80,6 +80,9 @@ class ASH_EXPORT SystemTray : public internal::ActionableView,
// seconds.
void SetDetailedViewCloseDelay(int close_delay);
+ // Hides the detailed view for |item|.
+ void HideDetailedView(SystemTrayItem* item);
+
// Shows the notification view for |item|.
void ShowNotificationView(SystemTrayItem* item);
@@ -190,8 +193,11 @@ class ASH_EXPORT SystemTray : public internal::ActionableView,
// Overridden from internal::BackgroundAnimatorDelegate.
virtual void UpdateBackground(int alpha) OVERRIDE;
+ // Owned items.
ScopedVector<SystemTrayItem> items_;
+ // Pointers to members of |items_|.
+ SystemTrayItem* detailed_item_;
std::vector<SystemTrayItem*> notification_items_;
// The container for all the tray views of the items.
« no previous file with comments | « ash/system/network/tray_sms.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698