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

Side by Side Diff: content/common/frame_messages.h

Issue 2557233002: Revert of Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: rebase Created 4 years 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // Information about the MessagePorts this message contains. 323 // Information about the MessagePorts this message contains.
324 IPC_STRUCT_MEMBER(std::vector<int>, message_ports) 324 IPC_STRUCT_MEMBER(std::vector<int>, message_ports)
325 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) 325 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids)
326 IPC_STRUCT_END() 326 IPC_STRUCT_END()
327 327
328 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) 328 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams)
329 IPC_STRUCT_TRAITS_MEMBER(url) 329 IPC_STRUCT_TRAITS_MEMBER(url)
330 IPC_STRUCT_TRAITS_MEMBER(referrer) 330 IPC_STRUCT_TRAITS_MEMBER(referrer)
331 IPC_STRUCT_TRAITS_MEMBER(transition) 331 IPC_STRUCT_TRAITS_MEMBER(transition)
332 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 332 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
333 IPC_STRUCT_TRAITS_MEMBER(gesture)
334 IPC_STRUCT_TRAITS_MEMBER(allow_download) 333 IPC_STRUCT_TRAITS_MEMBER(allow_download)
335 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 334 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
336 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) 335 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
337 IPC_STRUCT_TRAITS_MEMBER(report_type) 336 IPC_STRUCT_TRAITS_MEMBER(report_type)
338 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) 337 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url)
339 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) 338 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url)
340 IPC_STRUCT_TRAITS_MEMBER(lofi_state) 339 IPC_STRUCT_TRAITS_MEMBER(lofi_state)
341 IPC_STRUCT_TRAITS_MEMBER(navigation_start) 340 IPC_STRUCT_TRAITS_MEMBER(navigation_start)
342 IPC_STRUCT_TRAITS_MEMBER(method) 341 IPC_STRUCT_TRAITS_MEMBER(method)
343 IPC_STRUCT_TRAITS_MEMBER(post_data) 342 IPC_STRUCT_TRAITS_MEMBER(post_data)
344 IPC_STRUCT_TRAITS_END() 343 IPC_STRUCT_TRAITS_END()
345 344
346 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) 345 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
347 IPC_STRUCT_TRAITS_MEMBER(headers) 346 IPC_STRUCT_TRAITS_MEMBER(headers)
348 IPC_STRUCT_TRAITS_MEMBER(load_flags) 347 IPC_STRUCT_TRAITS_MEMBER(load_flags)
348 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
349 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 349 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
350 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 350 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
351 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) 351 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url)
352 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) 352 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding)
353 IPC_STRUCT_TRAITS_END() 353 IPC_STRUCT_TRAITS_END()
354 354
355 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) 355 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
356 IPC_STRUCT_TRAITS_MEMBER(extra_headers) 356 IPC_STRUCT_TRAITS_MEMBER(extra_headers)
357 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 357 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
358 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 358 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
(...skipping 19 matching lines...) Expand all
378 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) 378 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry)
379 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) 379 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset)
380 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) 380 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset)
381 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) 381 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length)
382 IPC_STRUCT_TRAITS_MEMBER(is_view_source) 382 IPC_STRUCT_TRAITS_MEMBER(is_view_source)
383 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) 383 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list)
384 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) 384 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker)
385 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) 385 IPC_STRUCT_TRAITS_MEMBER(navigation_timing)
386 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 386 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
387 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) 387 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id)
388 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
388 #if defined(OS_ANDROID) 389 #if defined(OS_ANDROID)
389 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) 390 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
390 #endif 391 #endif
391 IPC_STRUCT_TRAITS_END() 392 IPC_STRUCT_TRAITS_END()
392 393
393 IPC_STRUCT_TRAITS_BEGIN(content::FeaturePolicyParsedWhitelist) 394 IPC_STRUCT_TRAITS_BEGIN(content::FeaturePolicyParsedWhitelist)
394 IPC_STRUCT_TRAITS_MEMBER(feature_name) 395 IPC_STRUCT_TRAITS_MEMBER(feature_name)
395 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) 396 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins)
396 IPC_STRUCT_TRAITS_MEMBER(origins) 397 IPC_STRUCT_TRAITS_MEMBER(origins)
397 IPC_STRUCT_TRAITS_END() 398 IPC_STRUCT_TRAITS_END()
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 // Indicates the renderer process is gone. This actually is sent by the 936 // Indicates the renderer process is gone. This actually is sent by the
936 // browser process to itself, but keeps the interface cleaner. 937 // browser process to itself, but keeps the interface cleaner.
937 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, 938 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
938 int, /* this really is base::TerminationStatus */ 939 int, /* this really is base::TerminationStatus */
939 int /* exit_code */) 940 int /* exit_code */)
940 941
941 // Sent by the renderer when the frame becomes focused. 942 // Sent by the renderer when the frame becomes focused.
942 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 943 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
943 944
944 // Sent when the renderer starts a provisional load for a frame. 945 // Sent when the renderer starts a provisional load for a frame.
945 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoad, 946 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad,
946 GURL /* url */, 947 GURL /* url */,
947 base::TimeTicks /* navigation_start */, 948 base::TimeTicks /* navigation_start */)
948 content::NavigationGesture /* gesture */)
949 949
950 // Sent when the renderer fails a provisional load with an error. 950 // Sent when the renderer fails a provisional load with an error.
951 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, 951 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
952 FrameHostMsg_DidFailProvisionalLoadWithError_Params) 952 FrameHostMsg_DidFailProvisionalLoadWithError_Params)
953 953
954 // Notifies the browser that a frame in the view has changed. This message 954 // Notifies the browser that a frame in the view has changed. This message
955 // has a lot of parameters and is packed/unpacked by functions defined in 955 // has a lot of parameters and is packed/unpacked by functions defined in
956 // render_messages.h. 956 // render_messages.h.
957 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, 957 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad,
958 FrameHostMsg_DidCommitProvisionalLoad_Params) 958 FrameHostMsg_DidCommitProvisionalLoad_Params)
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 // nearest find result in the sending frame. 1513 // nearest find result in the sending frame.
1514 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1514 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1515 int /* nfr_request_id */, 1515 int /* nfr_request_id */,
1516 float /* distance */) 1516 float /* distance */)
1517 #endif 1517 #endif
1518 1518
1519 // Adding a new message? Stick to the sort order above: first platform 1519 // Adding a new message? Stick to the sort order above: first platform
1520 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1520 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1521 // platform independent FrameHostMsg, then ifdefs for platform specific 1521 // platform independent FrameHostMsg, then ifdefs for platform specific
1522 // FrameHostMsg. 1522 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/common/navigation_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698