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

Unified Diff: chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h

Issue 10917102: Context menus should appear above the touch point if invoked by long press. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 3 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/tab_contents/render_view_context_menu_views.h
diff --git a/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h b/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h
index 2fcd32ae67b0d64b75d15438e8d3bd3b48af5f80..5aa5b22cf71052d51aec50ee6dd7b8e77431dded 100644
--- a/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h
+++ b/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_vector.h"
#include "base/string16.h"
#include "chrome/browser/tab_contents/render_view_context_menu.h"
+#include "content/public/common/context_menu_source_type.h"
namespace gfx {
class Point;
@@ -30,7 +31,9 @@ class RenderViewContextMenuViews : public RenderViewContextMenu {
content::WebContents* tab_contents,
const content::ContextMenuParams& params);
- void RunMenuAt(views::Widget* parent, const gfx::Point& point);
+ void RunMenuAt(views::Widget* parent,
+ const gfx::Point& point,
+ const content::ContextMenuSourceType& type);
void UpdateMenuItemStates();

Powered by Google App Engine
This is Rietveld 408576698