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 45b0c71c8cd56f5b008a2d50f33251e396c50d4d..20d7cb432022d98d52e23f6b79359fcc76288f08 100644 |
--- a/ash/system/tray/system_tray_delegate.h |
+++ b/ash/system/tray/system_tray_delegate.h |
@@ -15,6 +15,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "ui/gfx/image/image_skia.h" |
+#include "ui/gfx/native_widget_types.h" |
namespace base { |
class TimeDelta; |
@@ -250,8 +251,11 @@ class SystemTrayDelegate { |
// Shows UI to configure or activate the network specified by |network_id|. |
virtual void ConfigureNetwork(const std::string& network_id) = 0; |
- // Sends a connect request for the network specified by |network_id|. |
- virtual void ConnectToNetwork(const std::string& network_id) = 0; |
+ // Shows UI to enroll the network specified by |network_id| if appropriate, |
+ // otherwise behaves the same as ConfigureNetwork. |parent_window| is used |
+ // to parent any configuration UI. If NULL a default window will be used. |
+ virtual void EnrollOrConfigureNetwork(const std::string& network_id, |
+ gfx::NativeWindow parent_window) = 0; |
// Shows UI to manage bluetooth devices. |
virtual void ManageBluetoothDevices() = 0; |
@@ -262,6 +266,9 @@ class SystemTrayDelegate { |
// Shows UI to unlock a mobile sim. |
virtual void ShowMobileSimDialog() = 0; |
+ // Shows UI to setup a mobile network. |
+ virtual void ShowMobileSetup(const std::string& network_id) = 0; |
+ |
// Shows UI to connect to an unlisted wifi network. |
virtual void ShowOtherWifi() = 0; |