class VolumeControlDelegate;
+namespace tray {
+class UserAccountsDelegate;
+} // namespace tray
+
class ASH_EXPORT SystemTrayDelegate {
public:
virtual ~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;
// 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;
// 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;
// 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_