Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ash / system / tray / system_tray_delegate.h
index 67d1f8c..3e399eb 100644 (file)
@@ -111,6 +111,10 @@ typedef std::vector<IMEInfo> IMEInfoList;
 
 class VolumeControlDelegate;
 
+namespace tray {
+class UserAccountsDelegate;
+}  // namespace tray
+
 class ASH_EXPORT SystemTrayDelegate {
  public:
   virtual ~SystemTrayDelegate() {}
@@ -126,7 +130,6 @@ class ASH_EXPORT SystemTrayDelegate {
 
   // Gets information about the active user.
   virtual user::LoginStatus GetUserLoginStatus() const = 0;
-  virtual bool IsOobeCompleted() const = 0;
 
   // Shows UI for changing user's profile picture.
   virtual void ChangeProfilePicture() = 0;
@@ -162,6 +165,9 @@ class ASH_EXPORT SystemTrayDelegate {
   // Shows the settings related to date, timezone etc.
   virtual void ShowDateSettings() = 0;
 
+  // Shows the dialog to set system time, date, and timezone.
+  virtual void ShowSetTimeDialog() = 0;
+
   // Shows the settings related to network. If |service_path| is not empty,
   // show the settings for that network.
   virtual void ShowNetworkSettings(const std::string& service_path) = 0;
@@ -300,6 +306,9 @@ class ASH_EXPORT SystemTrayDelegate {
   // Returns whether bluetooth is enabled.
   virtual bool GetBluetoothEnabled() = 0;
 
+  // Returns whether the delegate has initiated a bluetooth discovery session.
+  virtual bool GetBluetoothDiscovering() = 0;
+
   // Shows UI for changing proxy settings.
   virtual void ChangeProxySettings() = 0;
 
@@ -330,7 +339,12 @@ class ASH_EXPORT SystemTrayDelegate {
 
   // Returns true when the Search key is configured to be treated as Caps Lock.
   virtual bool IsSearchKeyMappedToCapsLock() = 0;
+
+  // Returns accounts delegate for given user.
+  virtual tray::UserAccountsDelegate* GetUserAccountsDelegate(
+      const std::string& user_id) = 0;
 };
+
 }  // namespace ash
 
 #endif  // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_