diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-05 23:50:23 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-05 23:50:23 +0000 |
commit | 0cd768ecf392756b92869d4c54a0b280677f0265 (patch) | |
tree | c1f4d8985b7d20b4abac23391640af688733fab9 /ash/launcher | |
parent | 1dbb7cf0d8419c72687f19813878263fe4de35c2 (diff) | |
download | chromium_src-0cd768ecf392756b92869d4c54a0b280677f0265.zip chromium_src-0cd768ecf392756b92869d4c54a0b280677f0265.tar.gz chromium_src-0cd768ecf392756b92869d4c54a0b280677f0265.tar.bz2 |
Upon activation on mixed mode, we only show and use apps of the current user. Furthermore we should not show the menu if an app was created.
BUG=296269
TEST=visual
Review URL: https://codereview.chromium.org/58813002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/launcher')
-rw-r--r-- | ash/launcher/launcher_item_delegate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/launcher/launcher_item_delegate.h b/ash/launcher/launcher_item_delegate.h index dbc1e65..c83de47 100644 --- a/ash/launcher/launcher_item_delegate.h +++ b/ash/launcher/launcher_item_delegate.h @@ -45,7 +45,8 @@ class ASH_EXPORT LauncherItemDelegate { // but not |aura::Window|. If the |event| is of type KeyEvent, it is assumed // that this was triggered by keyboard action (Alt+<number>) and special // handling might happen. - virtual void ItemSelected(const ui::Event& event) = 0; + // Returns true if a new item was created. + virtual bool ItemSelected(const ui::Event& event) = 0; // Returns the title to display. virtual base::string16 GetTitle() = 0; |