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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

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/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 52a6268571497de2b9dfd519b98bf4d806509cf6..7736bee893c09d2120237f816a401150ebec1bc9 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -405,9 +405,10 @@ gfx::Rect WebContentsViewAura::GetViewBounds() const {
// WebContentsViewAura, RenderViewHostDelegateView implementation:
void WebContentsViewAura::ShowContextMenu(
- const content::ContextMenuParams& params) {
+ const content::ContextMenuParams& params,
+ const content::ContextMenuSourceType& type) {
if (delegate_.get())
- delegate_->ShowContextMenu(params);
+ delegate_->ShowContextMenu(params, type);
}
void WebContentsViewAura::ShowPopupMenu(const gfx::Rect& bounds,

Powered by Google App Engine
This is Rietveld 408576698