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

Unified Diff: content/public/common/context_menu_params.h

Issue 678653003: Remove Downcasting RVContextMenuBase in ContextMenuDeleagate implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @toot Created 6 years, 2 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/public/common/context_menu_params.h
diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h
index 8849dae303d29f4677075080dd1a289698103a22..290d9e566cfaf452d91e791d091e2a9d4f43d9a9 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -61,6 +61,11 @@ struct CONTENT_EXPORT ContextMenuParams {
int x;
int y;
+ // These values represent the screen coordicates of the mouse when the
+ // context menu was invoked. These values are set in the browser/.
+ float screen_x;
sky 2014/10/27 19:24:53 These should be set in content before the params a
lazyboy 2014/10/27 22:01:13 I just hit a bump while doing this in RenderFrameH
+ float screen_y;
+
// This is the URL of the link that encloses the node the context menu was
// invoked on.
GURL link_url;
« no previous file with comments | « components/renderer_context_menu/render_view_context_menu_base.cc ('k') | content/public/common/context_menu_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698