OLD | NEW |
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 "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 IPC_STRUCT_TRAITS_MEMBER(referrer) | 267 IPC_STRUCT_TRAITS_MEMBER(referrer) |
268 IPC_STRUCT_TRAITS_MEMBER(transition) | 268 IPC_STRUCT_TRAITS_MEMBER(transition) |
269 IPC_STRUCT_TRAITS_MEMBER(navigation_type) | 269 IPC_STRUCT_TRAITS_MEMBER(navigation_type) |
270 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 270 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
271 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) | 271 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) |
272 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) | 272 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) |
273 IPC_STRUCT_TRAITS_MEMBER(report_type) | 273 IPC_STRUCT_TRAITS_MEMBER(report_type) |
274 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) | 274 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) |
275 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) | 275 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) |
276 IPC_STRUCT_TRAITS_MEMBER(lofi_state) | 276 IPC_STRUCT_TRAITS_MEMBER(lofi_state) |
| 277 IPC_STRUCT_TRAITS_MEMBER(navigation_start) |
277 IPC_STRUCT_TRAITS_END() | 278 IPC_STRUCT_TRAITS_END() |
278 | 279 |
279 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 280 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
280 IPC_STRUCT_TRAITS_MEMBER(method) | 281 IPC_STRUCT_TRAITS_MEMBER(method) |
281 IPC_STRUCT_TRAITS_MEMBER(headers) | 282 IPC_STRUCT_TRAITS_MEMBER(headers) |
282 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 283 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
283 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 284 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
284 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 285 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
285 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 286 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
286 IPC_STRUCT_TRAITS_END() | 287 IPC_STRUCT_TRAITS_END() |
287 | 288 |
288 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) | 289 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) |
289 IPC_STRUCT_TRAITS_MEMBER(is_post) | 290 IPC_STRUCT_TRAITS_MEMBER(is_post) |
290 IPC_STRUCT_TRAITS_MEMBER(extra_headers) | 291 IPC_STRUCT_TRAITS_MEMBER(extra_headers) |
291 IPC_STRUCT_TRAITS_MEMBER(browser_initiated_post_data) | 292 IPC_STRUCT_TRAITS_MEMBER(browser_initiated_post_data) |
292 #if defined(OS_ANDROID) | 293 #if defined(OS_ANDROID) |
293 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 294 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
294 #endif | 295 #endif |
295 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) | 296 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) |
296 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) | 297 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) |
297 IPC_STRUCT_TRAITS_END() | 298 IPC_STRUCT_TRAITS_END() |
298 | 299 |
299 IPC_STRUCT_TRAITS_BEGIN(content::RequestNavigationParams) | 300 IPC_STRUCT_TRAITS_BEGIN(content::RequestNavigationParams) |
300 IPC_STRUCT_TRAITS_MEMBER(is_overriding_user_agent) | 301 IPC_STRUCT_TRAITS_MEMBER(is_overriding_user_agent) |
301 IPC_STRUCT_TRAITS_MEMBER(browser_navigation_start) | |
302 IPC_STRUCT_TRAITS_MEMBER(redirects) | 302 IPC_STRUCT_TRAITS_MEMBER(redirects) |
303 IPC_STRUCT_TRAITS_MEMBER(can_load_local_resources) | 303 IPC_STRUCT_TRAITS_MEMBER(can_load_local_resources) |
304 IPC_STRUCT_TRAITS_MEMBER(request_time) | 304 IPC_STRUCT_TRAITS_MEMBER(request_time) |
305 IPC_STRUCT_TRAITS_MEMBER(page_state) | 305 IPC_STRUCT_TRAITS_MEMBER(page_state) |
306 IPC_STRUCT_TRAITS_MEMBER(page_id) | 306 IPC_STRUCT_TRAITS_MEMBER(page_id) |
307 IPC_STRUCT_TRAITS_MEMBER(nav_entry_id) | 307 IPC_STRUCT_TRAITS_MEMBER(nav_entry_id) |
308 IPC_STRUCT_TRAITS_MEMBER(is_same_document_history_load) | 308 IPC_STRUCT_TRAITS_MEMBER(is_same_document_history_load) |
309 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) | 309 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) |
310 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) | 310 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) |
311 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) | 311 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 // Indicates the renderer process is gone. This actually is sent by the | 724 // Indicates the renderer process is gone. This actually is sent by the |
725 // browser process to itself, but keeps the interface cleaner. | 725 // browser process to itself, but keeps the interface cleaner. |
726 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, | 726 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, |
727 int, /* this really is base::TerminationStatus */ | 727 int, /* this really is base::TerminationStatus */ |
728 int /* exit_code */) | 728 int /* exit_code */) |
729 | 729 |
730 // Sent by the renderer when the frame becomes focused. | 730 // Sent by the renderer when the frame becomes focused. |
731 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) | 731 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) |
732 | 732 |
733 // Sent when the renderer starts a provisional load for a frame. | 733 // Sent when the renderer starts a provisional load for a frame. |
734 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartProvisionalLoadForFrame, | 734 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame, |
735 GURL /* url */) | 735 GURL /* url */, |
| 736 base::TimeTicks /* navigation_start */) |
736 | 737 |
737 // Sent when the renderer fails a provisional load with an error. | 738 // Sent when the renderer fails a provisional load with an error. |
738 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 739 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
739 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 740 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
740 | 741 |
741 // Notifies the browser that a frame in the view has changed. This message | 742 // Notifies the browser that a frame in the view has changed. This message |
742 // has a lot of parameters and is packed/unpacked by functions defined in | 743 // has a lot of parameters and is packed/unpacked by functions defined in |
743 // render_messages.h. | 744 // render_messages.h. |
744 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, | 745 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, |
745 FrameHostMsg_DidCommitProvisionalLoad_Params) | 746 FrameHostMsg_DidCommitProvisionalLoad_Params) |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1202 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1202 FrameHostMsg_ShowPopup_Params) | 1203 FrameHostMsg_ShowPopup_Params) |
1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1204 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1204 | 1205 |
1205 #endif | 1206 #endif |
1206 | 1207 |
1207 // Adding a new message? Stick to the sort order above: first platform | 1208 // Adding a new message? Stick to the sort order above: first platform |
1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1209 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1209 // platform independent FrameHostMsg, then ifdefs for platform specific | 1210 // platform independent FrameHostMsg, then ifdefs for platform specific |
1210 // FrameHostMsg. | 1211 // FrameHostMsg. |
OLD | NEW |