Index: ash/system/tray/system_tray.cc |
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc |
index 6e80baa55c91b5487ce6822c79f6243ed6d18ac4..724f80a03e4ffc34cb5d3f96c33cceca9a1bfe12 100644 |
--- a/ash/system/tray/system_tray.cc |
+++ b/ash/system/tray/system_tray.cc |
@@ -321,6 +321,17 @@ void SystemTray::RemoveTrayItem(SystemTrayItem* item) { |
NOTIMPLEMENTED(); |
} |
+void SystemTray::ShowDefaultView() { |
+ if (popup_) { |
+ popup_->RemoveObserver(this); |
+ popup_->Close(); |
+ } |
+ popup_ = NULL; |
+ bubble_ = NULL; |
+ |
+ ShowItems(items_, false, true); |
+} |
+ |
void SystemTray::ShowDetailedView(SystemTrayItem* item, |
int close_delay, |
bool activate) { |