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

Unified Diff: chrome/browser/ui/views/download/download_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: chrome/browser/ui/views/download/download_item_view.h
diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h
index 47f26846033865a56124f906566bf3ccb16f2d52..b723029a41fe2977780e1007eed526a4ad3f7c3c 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -97,8 +97,10 @@ class DownloadItemView : public views::ButtonListener,
virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
// Overridden from views::ContextMenuController.
- virtual void ShowContextMenuForView(View* source,
- const gfx::Point& point) OVERRIDE;
+ virtual void ShowContextMenuForView(
+ View* source,
+ const gfx::Point& point,
+ ui::ContextMenuSourceType source_type) OVERRIDE;
// ButtonListener implementation.
virtual void ButtonPressed(views::Button* sender,

Powered by Google App Engine
This is Rietveld 408576698