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..eaed13066ffff18d7f5ccc4488936158ea8e88ad 100644 |
--- a/ash/system/network/tray_network.h |
+++ b/ash/system/network/tray_network.h |
@@ -24,6 +24,11 @@ class NetworkTrayView; |
class TrayNetwork : public SystemTrayItem, |
public NetworkObserver { |
public: |
+ enum DetailedViewType { |
+ LIST_VIEW, |
+ WIFI_VIEW, |
+ }; |
+ |
TrayNetwork(); |
virtual ~TrayNetwork(); |
@@ -49,6 +54,7 @@ class TrayNetwork : public SystemTrayItem, |
const string16& message, |
const string16& link_text) OVERRIDE; |
virtual void ClearNetworkError(ErrorType error_type) OVERRIDE; |
+ virtual void OnWillToggleWifi() OVERRIDE; |
private: |
friend class tray::NetworkErrorView; |
@@ -63,6 +69,7 @@ class TrayNetwork : public SystemTrayItem, |
tray::NetworkDetailedView* detailed_; |
tray::NetworkNotificationView* notification_; |
scoped_ptr<tray::NetworkErrors> errors_; |
+ bool request_wifi_view_; |
DISALLOW_COPY_AND_ASSIGN(TrayNetwork); |
}; |