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

Unified Diff: content/test/test_web_contents_view.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: content/test/test_web_contents_view.h
diff --git a/content/test/test_web_contents_view.h b/content/test/test_web_contents_view.h
index 7f84225a7c1aced7141a64f747059ed64dfd3677..fc8cd4eb057d09e0d6eede1c21e758e7244fece9 100644
--- a/content/test/test_web_contents_view.h
+++ b/content/test/test_web_contents_view.h
@@ -18,7 +18,9 @@ class TestWebContentsView : public WebContentsView,
virtual ~TestWebContentsView();
// RenderViewHostDelegateView:
- virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE;
+ virtual void ShowContextMenu(
+ const ContextMenuParams& params,
+ const content::ContextMenuSourceType& type) OVERRIDE;
virtual void ShowPopupMenu(const gfx::Rect& bounds,
int item_height,
double item_font_size,

Powered by Google App Engine
This is Rietveld 408576698