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

Unified Diff: content/common/frame_messages.h

Issue 2499313003: Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: remove gesture dcheck Created 4 years, 1 month 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 cd2e4ee3c26a4033952e5e29b04872a02e0af1a4..a049d455f0e27f8c86873a8f2200a0c90b1bf003 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -351,7 +351,7 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
IPC_STRUCT_TRAITS_MEMBER(headers)
IPC_STRUCT_TRAITS_MEMBER(load_flags)
- IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
+ IPC_STRUCT_TRAITS_MEMBER(gesture)
IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
IPC_STRUCT_TRAITS_MEMBER(request_context_type)
IPC_STRUCT_TRAITS_MEMBER(searchable_form_url)
@@ -390,7 +390,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::RequestNavigationParams)
IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker)
IPC_STRUCT_TRAITS_MEMBER(navigation_timing)
IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
- IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
+ IPC_STRUCT_TRAITS_MEMBER(gesture)
#if defined(OS_ANDROID)
IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
#endif
@@ -961,9 +961,10 @@ IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
// Sent when the renderer starts a provisional load for a frame.
-IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad,
+IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoad,
GURL /* url */,
- base::TimeTicks /* navigation_start */)
+ base::TimeTicks /* navigation_start */,
+ content::NavigationGesture /* gesture */)
// Sent when the renderer fails a provisional load with an error.
IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,

Powered by Google App Engine
This is Rietveld 408576698