Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2535)

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 210903003: Implemented system tray UI for new account management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More comments addressed. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 67d1f8cf32bc0a917ce0f77d2f37ae99b7e102f4..c0026591e5f64dad4073cc2d24a74e721a768e1a 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -111,6 +111,10 @@ typedef std::vector<IMEInfo> IMEInfoList;
class VolumeControlDelegate;
+namespace tray {
+class UserAccountsDelegate;
+} // namespace tray
oshima 2014/03/31 23:07:52 namespace comment for forward decls is optional (t
+
class ASH_EXPORT SystemTrayDelegate {
public:
virtual ~SystemTrayDelegate() {}
@@ -330,7 +334,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_

Powered by Google App Engine
This is Rietveld 408576698