Chromium Code Reviews| Index: ash/system/network/tray_network.h |
| diff --git a/ash/system/network/tray_network.h b/ash/system/network/tray_network.h |
| index 022446dce5fb03815f74cb82d6cf4122330c446c..f240099c4e3eee4d947654431afa11088b63fb82 100644 |
| --- a/ash/system/network/tray_network.h |
| +++ b/ash/system/network/tray_network.h |
| @@ -12,6 +12,8 @@ |
| namespace ash { |
| namespace internal { |
| +class TrayDetailsView; |
| + |
| namespace tray { |
| class NetworkDefaultView; |
| class NetworkDetailedView; |
| @@ -49,6 +51,7 @@ class TrayNetwork : public SystemTrayItem, |
| const string16& message, |
| const string16& link_text) OVERRIDE; |
| virtual void ClearNetworkError(ErrorType error_type) OVERRIDE; |
| + virtual void OnWifiToggled(bool wifi_enabled) OVERRIDE; |
| private: |
| friend class tray::NetworkErrorView; |
| @@ -61,6 +64,7 @@ class TrayNetwork : public SystemTrayItem, |
| tray::NetworkTrayView* tray_; |
| tray::NetworkDefaultView* default_; |
| tray::NetworkDetailedView* detailed_; |
| + TrayDetailsView* wifi_view_; |
|
stevenjb
2012/08/02 17:47:16
Having two different detailed view pointers is pre
mazda
2012/08/02 19:49:16
Created a common base class and deleted wifi_view_
|
| tray::NetworkNotificationView* notification_; |
| scoped_ptr<tray::NetworkErrors> errors_; |