summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/app_list/app_list_controller_delegate.h
diff options
context:
space:
mode:
authorkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 05:17:47 +0000
committerkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 05:17:47 +0000
commit48164f956d68e19019f76e97688a21e4fcd9b564 (patch)
treea016efcbc606ce608e0cdd18b9dd638aab811162 /chrome/browser/ui/app_list/app_list_controller_delegate.h
parent79dc4cebcc1bc19cf175f3254cfd79f1af233aa3 (diff)
downloadchromium_src-48164f956d68e19019f76e97688a21e4fcd9b564.zip
chromium_src-48164f956d68e19019f76e97688a21e4fcd9b564.tar.gz
chromium_src-48164f956d68e19019f76e97688a21e4fcd9b564.tar.bz2
Add an icon to the app list to indicate the current profile.
This icon is only visible on Windows and if there is more than one profile available. BUG=174799 Review URL: https://chromiumcodereview.appspot.com/12328002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/app_list/app_list_controller_delegate.h')
-rw-r--r--chrome/browser/ui/app_list/app_list_controller_delegate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate.h b/chrome/browser/ui/app_list/app_list_controller_delegate.h
index 6a8c51f8..c970039 100644
--- a/chrome/browser/ui/app_list/app_list_controller_delegate.h
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate.h
@@ -69,6 +69,10 @@ class AppListControllerDelegate {
virtual void LaunchApp(Profile* profile,
const extensions::Extension* extension,
int event_flags) = 0;
+
+ // Whether or not the icon indicating which user is logged in should be
+ // visible.
+ virtual bool ShouldShowUserIcon();
};
#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_