Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: ui/app_list/views/app_list_item_view.h

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/app_list_item_view.h
diff --git a/ui/app_list/views/app_list_item_view.h b/ui/app_list/views/app_list_item_view.h
index 713e36e205981b3117c903bdf6791af4db355de2..c367df8d9e5f70660782cb4a95b4852ca2b04268 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -79,8 +79,10 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
// views::ContextMenuController overrides:
- virtual void ShowContextMenuForView(views::View* source,
- const gfx::Point& point) OVERRIDE;
+ virtual void ShowContextMenuForView(
+ views::View* source,
+ const gfx::Point& point,
+ ui::ContextMenuSourceType source_type) OVERRIDE;
// views::CustomButton overrides:
virtual void StateChanged() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698