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

Unified Diff: content/common/frame_messages.h

Issue 1489913003: Handle pointer-events: none in browser process hittesting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: readding header Created 4 years, 11 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
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 1fd22bf592bbfd4f1ea34b9038a44f51b5a1e1d5..153c730d91fb7bdf6159d615193f308a86c69196 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -500,6 +500,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.
@@ -1405,6 +1416,9 @@ IPC_MESSAGE_ROUTED5(FrameHostMsg_Find_Reply,
int /* active_match_ordinal */,
bool /* final_update */)
+// 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.
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698