Index: ash/system/tray/system_tray_delegate.h |
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h |
index de2b3886cba43d6de0849d322ff0cc8f46b0091f..0afb6667f56c9aff746806f5083afa7c8a11874e 100644 |
--- a/ash/system/tray/system_tray_delegate.h |
+++ b/ash/system/tray/system_tray_delegate.h |
@@ -18,6 +18,7 @@ struct NetworkIconInfo { |
SkBitmap image; |
string16 name; |
string16 description; |
+ std::string unique_id; |
}; |
class SystemTrayDelegate { |
@@ -42,6 +43,9 @@ class SystemTrayDelegate { |
// Shows the settings related to date, timezone etc. |
virtual void ShowDateSettings() = 0; |
+ // Show the settings related to network. |
+ virtual void ShowNetworkSettings() = 0; |
+ |
// Shows help. |
virtual void ShowHelp() = 0; |
@@ -69,7 +73,19 @@ class SystemTrayDelegate { |
// Returns information about the most relevant network. Relevance is |
// determined by the implementor (e.g. a connecting network may be more |
// relevant over a connected network etc.) |
- virtual NetworkIconInfo GetMostRelevantNetworkIcon() = 0; |
+ virtual NetworkIconInfo GetMostRelevantNetworkIcon(bool large) = 0; |
+ |
+ // Returns information about the available networks. |
+ virtual void GetAvailableNetworks(std::vector<NetworkIconInfo>* list) = 0; |
+ |
+ // Connects to the network specified by the unique id. |
+ virtual void ConnectToNetwork(const std::string& network_id) = 0; |
+ |
+ // Toggles airplane mode. |
+ virtual void ToggleAirplaneMode() = 0; |
+ |
+ // Shows UI for changing proxy settings. |
+ virtual void ChangeProxySettings() = 0; |
}; |
} // namespace ash |