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

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

Issue 9664056: ash uber tray: Add the detailed network popup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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.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) {

Powered by Google App Engine
This is Rietveld 408576698