| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 347 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
| 348 IPC_STRUCT_TRAITS_MEMBER(headers) | 348 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 349 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 349 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
| 350 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 350 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 351 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 351 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
| 352 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 352 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
| 353 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) | 353 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) |
| 354 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) | 354 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) |
| 355 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) | 355 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) |
| 356 IPC_STRUCT_TRAITS_MEMBER(initiator_origin) | 356 IPC_STRUCT_TRAITS_MEMBER(initiator_origin) |
| 357 IPC_STRUCT_TRAITS_MEMBER(client_side_redirect_url) |
| 357 IPC_STRUCT_TRAITS_END() | 358 IPC_STRUCT_TRAITS_END() |
| 358 | 359 |
| 359 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) | 360 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) |
| 360 IPC_STRUCT_TRAITS_MEMBER(extra_headers) | 361 IPC_STRUCT_TRAITS_MEMBER(extra_headers) |
| 361 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) | 362 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) |
| 362 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) | 363 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) |
| 363 IPC_STRUCT_TRAITS_END() | 364 IPC_STRUCT_TRAITS_END() |
| 364 | 365 |
| 365 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming) | 366 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming) |
| 366 IPC_STRUCT_TRAITS_MEMBER(redirect_start) | 367 IPC_STRUCT_TRAITS_MEMBER(redirect_start) |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 // Indicates the renderer process is gone. This actually is sent by the | 972 // Indicates the renderer process is gone. This actually is sent by the |
| 972 // browser process to itself, but keeps the interface cleaner. | 973 // browser process to itself, but keeps the interface cleaner. |
| 973 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, | 974 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, |
| 974 int, /* this really is base::TerminationStatus */ | 975 int, /* this really is base::TerminationStatus */ |
| 975 int /* exit_code */) | 976 int /* exit_code */) |
| 976 | 977 |
| 977 // Sent by the renderer when the frame becomes focused. | 978 // Sent by the renderer when the frame becomes focused. |
| 978 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) | 979 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) |
| 979 | 980 |
| 980 // Sent when the renderer starts a provisional load for a frame. | 981 // Sent when the renderer starts a provisional load for a frame. |
| 981 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad, | 982 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoad, |
| 982 GURL /* url */, | 983 GURL /* url */, |
| 984 std::vector<GURL> /* redirect_chain */, |
| 983 base::TimeTicks /* navigation_start */) | 985 base::TimeTicks /* navigation_start */) |
| 984 | 986 |
| 985 // Sent when the renderer fails a provisional load with an error. | 987 // Sent when the renderer fails a provisional load with an error. |
| 986 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 988 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
| 987 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 989 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 988 | 990 |
| 989 // Notifies the browser that a frame in the view has changed. This message | 991 // Notifies the browser that a frame in the view has changed. This message |
| 990 // has a lot of parameters and is packed/unpacked by functions defined in | 992 // has a lot of parameters and is packed/unpacked by functions defined in |
| 991 // render_messages.h. | 993 // render_messages.h. |
| 992 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, | 994 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1563 // nearest find result in the sending frame. | 1565 // nearest find result in the sending frame. |
| 1564 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1566 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1565 int /* nfr_request_id */, | 1567 int /* nfr_request_id */, |
| 1566 float /* distance */) | 1568 float /* distance */) |
| 1567 #endif | 1569 #endif |
| 1568 | 1570 |
| 1569 // Adding a new message? Stick to the sort order above: first platform | 1571 // Adding a new message? Stick to the sort order above: first platform |
| 1570 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1572 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1571 // platform independent FrameHostMsg, then ifdefs for platform specific | 1573 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1572 // FrameHostMsg. | 1574 // FrameHostMsg. |
| OLD | NEW |