Index: chrome/browser/chromeos/status/status_area_host.h |
diff --git a/chrome/browser/chromeos/status/status_area_host.h b/chrome/browser/chromeos/status/status_area_host.h |
index 7b7691e9e4444f84537daf4f785b9f63a9211705..e7e81af327366015197a6bab2d7fb43e215af86f 100644 |
--- a/chrome/browser/chromeos/status/status_area_host.h |
+++ b/chrome/browser/chromeos/status/status_area_host.h |
@@ -38,11 +38,15 @@ class StatusAreaHost { |
// Executes browser command. |
virtual void ExecuteBrowserCommand(int id) const = 0; |
- // True if status area hosted in browser. Otherwise it's OOBE/login state. |
- virtual bool IsBrowserMode() const = 0; |
- |
- // True if status area hosted in screen locker. |
- virtual bool IsScreenLockerMode() const = 0; |
+ // The type of screen the host window is on. |
+ enum ScreenMode { |
+ kLoginMode, // The host is for the OOBE/login screens. |
+ kBrowserMode, // The host is for browser. |
+ kScreenLockerMode, // The host is for screen locker. |
+ }; |
+ |
+ // Returns the type of screen. |
+ virtual ScreenMode GetScreenMode() const = 0; |
protected: |
virtual ~StatusAreaHost() {} |