| Index: ash/system/tray/system_tray.cc
|
| diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
|
| index 32d4a4ec81c500241c475d6f20a8581c4cf6417b..dad01cc4dac272630be2db4fd83b55fe1766fd51 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) {
|
|
|