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

Unified Diff: ui/views/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/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 4b10f0cd829c42fb4f689524b8528bf63568dcb9..ac4ac508057d55ae8553a0ba2dbe75491f23e645 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -826,7 +826,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// to provide right-click menu display triggerd by the keyboard (i.e. for the
// Chrome toolbar Back and Forward buttons). No source needs to be specified,
// as it is always equal to the current View.
- virtual void ShowContextMenu(const gfx::Point& p, bool is_mouse_gesture);
+ virtual void ShowContextMenu(const gfx::Point& p,
+ ui::ContextMenuSourceType source_type);
// On some platforms, we show context menu on mouse press instead of release.
// This method returns true for those platforms.

Powered by Google App Engine
This is Rietveld 408576698