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

Unified Diff: content/common/frame_messages.h

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Remove WVI call to WFWI. Created 3 years, 7 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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index ca1ed2d0caf879f42585f15a7b898d60753210cc..688bcfb714c1c7db3ca15c438dc4f148bf16c484 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -1039,6 +1039,12 @@ IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport,
IPC_MESSAGE_ROUTED1(FrameMsg_MixedContentFound,
FrameMsg_MixedContentFound_Params)
+// Sent to inform the renderer to invoke a context menu.
+// The parameter specifies the location in the render view's coordinates.
+IPC_MESSAGE_ROUTED2(FrameMsg_ShowContextMenu,
+ ui::MenuSourceType,
+ gfx::Point /* location where menu should be shown */)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698