Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index 18892e8df157d35185a1ed50ea36d64b4f8181db..9b0d998759f53466f9c3008f52eb9a61eb565886 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -490,6 +490,17 @@ IPC_STRUCT_BEGIN(FrameMsg_SerializeAsMHTML_Params) |
IPC_STRUCT_MEMBER(bool, is_last_frame) |
IPC_STRUCT_END() |
+// This message is used to send hittesting data from the renderer in order |
+// to perform hittesting on the browser process. |
+IPC_STRUCT_BEGIN(FrameHostMsg_HittestData_Params) |
+ // |surface_id| represents the surface used by this remote frame. |
+ IPC_STRUCT_MEMBER(cc::SurfaceId, surface_id) |
+ |
+ // If |ignored_for_hittest| then this surface should be ignored during |
+ // hittesting. |
+ IPC_STRUCT_MEMBER(bool, ignored_for_hittest) |
+IPC_STRUCT_END() |
+ |
#if defined(OS_MACOSX) || defined(OS_ANDROID) |
// This message is used for supporting popup menus on Mac OS X and Android using |
// native controls. See the FrameHostMsg_ShowPopup message. |
@@ -1361,6 +1372,9 @@ IPC_MESSAGE_ROUTED2(FrameHostMsg_AdvanceFocus, |
blink::WebFocusType /* type */, |
int32_t /* source_routing_id */) |
+// Sends hittesting data needed to perform hittesting on the browser process. |
+IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) |
+ |
#if defined(OS_MACOSX) || defined(OS_ANDROID) |
// Message to show/hide a popup menu using native controls. |