summaryrefslogtreecommitdiffstats
path: root/ash/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher')
-rw-r--r--ash/launcher/launcher_item_delegate.h3
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;