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

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

Issue 10332152: Add TraySms for SMS messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only observe with --aura-notify 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
Index: ash/system/tray/system_tray_item.cc
diff --git a/ash/system/tray/system_tray_item.cc b/ash/system/tray/system_tray_item.cc
index ed5cdd25e4b548836fdd9db1430c030397918afd..91bc1ac0031442db14900ce22c22faa6a3f37576 100644
--- a/ash/system/tray/system_tray_item.cc
+++ b/ash/system/tray/system_tray_item.cc
@@ -44,6 +44,9 @@ void SystemTrayItem::DestroyDetailedView() {
void SystemTrayItem::DestroyNotificationView() {
}
+void SystemTrayItem::UpdateAfterLoginStatusChange(user::LoginStatus status) {
+}
+
void SystemTrayItem::PopupDetailedView(int for_seconds, bool activate) {
Shell::GetInstance()->tray()->ShowDetailedView(this, for_seconds, activate);
}
@@ -52,6 +55,10 @@ void SystemTrayItem::SetDetailedViewCloseDelay(int for_seconds) {
Shell::GetInstance()->tray()->SetDetailedViewCloseDelay(for_seconds);
}
+void SystemTrayItem::HideDetailedView() {
+ Shell::GetInstance()->tray()->HideDetailedView(this);
+}
+
void SystemTrayItem::ShowNotificationView() {
Shell::GetInstance()->tray()->ShowNotificationView(this);
}

Powered by Google App Engine
This is Rietveld 408576698