summaryrefslogtreecommitdiffstats
path: root/ash/launcher/launcher_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher/launcher_view.h')
-rw-r--r--ash/launcher/launcher_view.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/ash/launcher/launcher_view.h b/ash/launcher/launcher_view.h
index 0e57169..9ebed0a 100644
--- a/ash/launcher/launcher_view.h
+++ b/ash/launcher/launcher_view.h
@@ -220,21 +220,20 @@ class ASH_EXPORT LauncherView : public views::View,
// Show the list of all running items for this |item|. It will return true
// when the menu was shown and false if there were no possible items to
// choose from. |source| specifies the view which is responsible for showing
- // the menu and |point| is the origin for the point.
- // TODO(skuhne): Depending on the menu type we use in the end (hover vs.
- // click), |point| might become obsolete.
+ // the menu, and the bubble will point towards it.
bool ShowListMenuForView(const LauncherItem& item,
- views::View* source,
- const gfx::Point& point);
+ views::View* source);
// Overridden from views::ContextMenuController:
virtual void ShowContextMenuForView(views::View* source,
const gfx::Point& point) OVERRIDE;
// Show either a context or normal click menu of given |menu_model|.
+ // If |context_menu| is set, the displayed menu is a context menu and not
+ // a menu listing one or more running applications.
void ShowMenu(ui::MenuModel* menu_model,
- views::View*source,
- const gfx::Point& point);
+ views::View* source,
+ bool context_menu);
// Overridden from views::BoundsAnimatorObserver:
virtual void OnBoundsAnimatorProgressed(