| Index: chrome/browser/ui/ash/system_tray_client.h
|
| diff --git a/chrome/browser/ui/ash/system_tray_client.h b/chrome/browser/ui/ash/system_tray_client.h
|
| index 2628b493d8d228285587467a5a11f4dcb3b618f8..b3923bd5652b220512c91ca940561c5e27fe0780 100644
|
| --- a/chrome/browser/ui/ash/system_tray_client.h
|
| +++ b/chrome/browser/ui/ash/system_tray_client.h
|
| @@ -10,6 +10,10 @@
|
| #include "chrome/browser/chromeos/system/system_clock_observer.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
|
|
| +namespace ash {
|
| +enum class LoginStatus;
|
| +}
|
| +
|
| // Handles method calls delegated back to chrome from ash. Also notifies ash of
|
| // relevant state changes in chrome.
|
| // TODO: Consider renaming this to SystemTrayClientChromeOS.
|
| @@ -21,6 +25,13 @@ class SystemTrayClient : public ash::mojom::SystemTrayClient,
|
|
|
| static SystemTrayClient* Get();
|
|
|
| + // Returns the login state based on the user type, lock screen status, etc.
|
| + static ash::LoginStatus GetUserLoginStatus();
|
| +
|
| + // Returns the container id for the parent window for new dialogs. The parent
|
| + // varies based on the current login and lock screen state.
|
| + static int GetDialogParentContainerId();
|
| +
|
| // ash::mojom::SystemTrayClient:
|
| void ShowSettings() override;
|
| void ShowDateSettings() override;
|
|
|