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

Unified Diff: ui/app_list/app_list_view_delegate.h

Issue 12789010: [win] Change app launcher profile indicator to be a menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 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: ui/app_list/app_list_view_delegate.h
diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h
index c289151381d1547f7e6c1d15fb9cfc37300ee2d2..21e6f61f75506b51ce8e503f760150ca98ba2b0d 100644
--- a/ui/app_list/app_list_view_delegate.h
+++ b/ui/app_list/app_list_view_delegate.h
@@ -5,6 +5,7 @@
#ifndef UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
#define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
+#include "base/string16.h"
#include "ui/app_list/app_list_export.h"
namespace gfx {
@@ -64,6 +65,18 @@ class APP_LIST_EXPORT AppListViewDelegate {
// Returns the icon to be displayed in the window and taskbar.
virtual gfx::ImageSkia GetWindowIcon() = 0;
+
+ // Returns the name of the current user.
+ virtual string16 GetCurrentUserName() = 0;
+
+ // Returns the email of the current user.
+ virtual string16 GetCurrentUserEmail() = 0;
+
+ // Open the settings UI.
+ virtual void OpenSettings() = 0;
+
+ // Open the feedback UI.
+ virtual void OpenFeedback() = 0;
};
} // namespace app_list

Powered by Google App Engine
This is Rietveld 408576698