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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) 344 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url)
345 IPC_STRUCT_TRAITS_MEMBER(lofi_state) 345 IPC_STRUCT_TRAITS_MEMBER(lofi_state)
346 IPC_STRUCT_TRAITS_MEMBER(navigation_start) 346 IPC_STRUCT_TRAITS_MEMBER(navigation_start)
347 IPC_STRUCT_TRAITS_MEMBER(method) 347 IPC_STRUCT_TRAITS_MEMBER(method)
348 IPC_STRUCT_TRAITS_MEMBER(post_data) 348 IPC_STRUCT_TRAITS_MEMBER(post_data)
349 IPC_STRUCT_TRAITS_END() 349 IPC_STRUCT_TRAITS_END()
350 350
351 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) 351 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
352 IPC_STRUCT_TRAITS_MEMBER(headers) 352 IPC_STRUCT_TRAITS_MEMBER(headers)
353 IPC_STRUCT_TRAITS_MEMBER(load_flags) 353 IPC_STRUCT_TRAITS_MEMBER(load_flags)
354 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 354 IPC_STRUCT_TRAITS_MEMBER(gesture)
355 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 355 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
356 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 356 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
357 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) 357 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url)
358 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) 358 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding)
359 IPC_STRUCT_TRAITS_END() 359 IPC_STRUCT_TRAITS_END()
360 360
361 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) 361 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
362 IPC_STRUCT_TRAITS_MEMBER(extra_headers) 362 IPC_STRUCT_TRAITS_MEMBER(extra_headers)
363 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 363 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
364 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 364 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
(...skipping 18 matching lines...) Expand all
383 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) 383 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load)
384 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) 384 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry)
385 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) 385 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset)
386 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) 386 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset)
387 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) 387 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length)
388 IPC_STRUCT_TRAITS_MEMBER(is_view_source) 388 IPC_STRUCT_TRAITS_MEMBER(is_view_source)
389 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) 389 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list)
390 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) 390 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker)
391 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) 391 IPC_STRUCT_TRAITS_MEMBER(navigation_timing)
392 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 392 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
393 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 393 IPC_STRUCT_TRAITS_MEMBER(gesture)
394 #if defined(OS_ANDROID) 394 #if defined(OS_ANDROID)
395 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) 395 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
396 #endif 396 #endif
397 IPC_STRUCT_TRAITS_END() 397 IPC_STRUCT_TRAITS_END()
398 398
399 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) 399 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState)
400 IPC_STRUCT_TRAITS_MEMBER(origin) 400 IPC_STRUCT_TRAITS_MEMBER(origin)
401 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) 401 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags)
402 IPC_STRUCT_TRAITS_MEMBER(name) 402 IPC_STRUCT_TRAITS_MEMBER(name)
403 IPC_STRUCT_TRAITS_MEMBER(unique_name) 403 IPC_STRUCT_TRAITS_MEMBER(unique_name)
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 // Indicates the renderer process is gone. This actually is sent by the 954 // Indicates the renderer process is gone. This actually is sent by the
955 // browser process to itself, but keeps the interface cleaner. 955 // browser process to itself, but keeps the interface cleaner.
956 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, 956 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
957 int, /* this really is base::TerminationStatus */ 957 int, /* this really is base::TerminationStatus */
958 int /* exit_code */) 958 int /* exit_code */)
959 959
960 // Sent by the renderer when the frame becomes focused. 960 // Sent by the renderer when the frame becomes focused.
961 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 961 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
962 962
963 // Sent when the renderer starts a provisional load for a frame. 963 // Sent when the renderer starts a provisional load for a frame.
964 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad, 964 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoad,
965 GURL /* url */, 965 GURL /* url */,
966 base::TimeTicks /* navigation_start */) 966 base::TimeTicks /* navigation_start */,
967 content::NavigationGesture /* gesture */)
967 968
968 // Sent when the renderer fails a provisional load with an error. 969 // Sent when the renderer fails a provisional load with an error.
969 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, 970 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
970 FrameHostMsg_DidFailProvisionalLoadWithError_Params) 971 FrameHostMsg_DidFailProvisionalLoadWithError_Params)
971 972
972 // Notifies the browser that a frame in the view has changed. This message 973 // Notifies the browser that a frame in the view has changed. This message
973 // has a lot of parameters and is packed/unpacked by functions defined in 974 // has a lot of parameters and is packed/unpacked by functions defined in
974 // render_messages.h. 975 // render_messages.h.
975 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, 976 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad,
976 FrameHostMsg_DidCommitProvisionalLoad_Params) 977 FrameHostMsg_DidCommitProvisionalLoad_Params)
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 // nearest find result in the sending frame. 1520 // nearest find result in the sending frame.
1520 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1521 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1521 int /* nfr_request_id */, 1522 int /* nfr_request_id */,
1522 float /* distance */) 1523 float /* distance */)
1523 #endif 1524 #endif
1524 1525
1525 // Adding a new message? Stick to the sort order above: first platform 1526 // Adding a new message? Stick to the sort order above: first platform
1526 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1527 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1527 // platform independent FrameHostMsg, then ifdefs for platform specific 1528 // platform independent FrameHostMsg, then ifdefs for platform specific
1528 // FrameHostMsg. 1529 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698