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..4b6a73dc2eab5a3109409f518cc888549f8ae5b2 100644 |
--- a/chrome/browser/chromeos/status/status_area_host.h |
+++ b/chrome/browser/chromeos/status/status_area_host.h |
@@ -38,11 +38,13 @@ 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; |
+ enum ScreenMode { |
satorux1
2011/01/21 07:59:33
Please add a comment about the enum type.
Yusuke Sato
2011/01/21 09:51:27
Done.
|
+ 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() {} |