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

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

Issue 10383045: Add support to SystemTray for a second notification bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits 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/tray/system_tray_item.h ('k') | ash/system/tray/system_tray_unittest.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.cc
diff --git a/ash/system/tray/system_tray_item.cc b/ash/system/tray/system_tray_item.cc
index 242013e83ac258688b27aa3fb3a17af26fb962fa..ed5cdd25e4b548836fdd9db1430c030397918afd 100644
--- a/ash/system/tray/system_tray_item.cc
+++ b/ash/system/tray/system_tray_item.cc
@@ -16,6 +16,34 @@ SystemTrayItem::SystemTrayItem() {
SystemTrayItem::~SystemTrayItem() {
}
+views::View* SystemTrayItem::CreateTrayView(user::LoginStatus status) {
+ return NULL;
+}
+
+views::View* SystemTrayItem::CreateDefaultView(user::LoginStatus status) {
+ return NULL;
+}
+
+views::View* SystemTrayItem::CreateDetailedView(user::LoginStatus status) {
+ return NULL;
+}
+
+views::View* SystemTrayItem::CreateNotificationView(user::LoginStatus status) {
+ return NULL;
+}
+
+void SystemTrayItem::DestroyTrayView() {
+}
+
+void SystemTrayItem::DestroyDefaultView() {
+}
+
+void SystemTrayItem::DestroyDetailedView() {
+}
+
+void SystemTrayItem::DestroyNotificationView() {
+}
+
void SystemTrayItem::PopupDetailedView(int for_seconds, bool activate) {
Shell::GetInstance()->tray()->ShowDetailedView(this, for_seconds, activate);
}
@@ -24,4 +52,12 @@ void SystemTrayItem::SetDetailedViewCloseDelay(int for_seconds) {
Shell::GetInstance()->tray()->SetDetailedViewCloseDelay(for_seconds);
}
+void SystemTrayItem::ShowNotificationView() {
+ Shell::GetInstance()->tray()->ShowNotificationView(this);
+}
+
+void SystemTrayItem::HideNotificationView() {
+ Shell::GetInstance()->tray()->HideNotificationView(this);
+}
+
} // namespace ash
« no previous file with comments | « ash/system/tray/system_tray_item.h ('k') | ash/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698