diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-25 18:03:25 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-25 18:03:25 +0000 |
commit | 1936caa45a75aaad06a8fc61679f47187a0c446a (patch) | |
tree | 5706aec87d66a05522ff333344472154ea394314 /ash/shell | |
parent | 0bf53d21ec308f35a8adcaf0d093a4959deae5c1 (diff) | |
download | chromium_src-1936caa45a75aaad06a8fc61679f47187a0c446a.zip chromium_src-1936caa45a75aaad06a8fc61679f47187a0c446a.tar.gz chromium_src-1936caa45a75aaad06a8fc61679f47187a0c446a.tar.bz2 |
[win] Change app launcher profile indicator to be a menu.
The new menu shows the currently signed in user, as well as providing
menu items to show the settings app or open a feedback form.
BUG=179474
Review URL: https://chromiumcodereview.appspot.com/12789010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell')
-rw-r--r-- | ash/shell/app_list.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc index 6b69b87..ebf2f87 100644 --- a/ash/shell/app_list.cc +++ b/ash/shell/app_list.cc @@ -293,6 +293,22 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate { return gfx::ImageSkia(); } + virtual string16 GetCurrentUserName() { + return string16(); + } + + virtual string16 GetCurrentUserEmail() { + return string16(); + } + + virtual void OpenSettings() { + // Nothing needs to be done. + } + + virtual void OpenFeedback() { + // Nothing needs to be done. + } + app_list::AppListModel* model_; DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); |