| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 350 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
| 351 IPC_STRUCT_TRAITS_MEMBER(headers) | 351 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 352 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 352 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
| 353 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 353 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 354 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 354 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
| 355 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 355 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
| 356 IPC_STRUCT_TRAITS_END() | 356 IPC_STRUCT_TRAITS_END() |
| 357 | 357 |
| 358 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) | 358 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) |
| 359 IPC_STRUCT_TRAITS_MEMBER(extra_headers) | 359 IPC_STRUCT_TRAITS_MEMBER(extra_headers) |
| 360 #if defined(OS_ANDROID) | |
| 361 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | |
| 362 #endif | |
| 363 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) | 360 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) |
| 364 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) | 361 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) |
| 365 IPC_STRUCT_TRAITS_END() | 362 IPC_STRUCT_TRAITS_END() |
| 366 | 363 |
| 367 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming) | 364 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming) |
| 368 IPC_STRUCT_TRAITS_MEMBER(redirect_start) | 365 IPC_STRUCT_TRAITS_MEMBER(redirect_start) |
| 369 IPC_STRUCT_TRAITS_MEMBER(redirect_end) | 366 IPC_STRUCT_TRAITS_MEMBER(redirect_end) |
| 370 IPC_STRUCT_TRAITS_MEMBER(fetch_start) | 367 IPC_STRUCT_TRAITS_MEMBER(fetch_start) |
| 371 IPC_STRUCT_TRAITS_END() | 368 IPC_STRUCT_TRAITS_END() |
| 372 | 369 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 384 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) | 381 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) |
| 385 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) | 382 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) |
| 386 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) | 383 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) |
| 387 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) | 384 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) |
| 388 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) | 385 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) |
| 389 IPC_STRUCT_TRAITS_MEMBER(is_view_source) | 386 IPC_STRUCT_TRAITS_MEMBER(is_view_source) |
| 390 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) | 387 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) |
| 391 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) | 388 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) |
| 392 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) | 389 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) |
| 393 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) | 390 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) |
| 391 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 394 #if defined(OS_ANDROID) | 392 #if defined(OS_ANDROID) |
| 395 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) | 393 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) |
| 396 #endif | 394 #endif |
| 397 IPC_STRUCT_TRAITS_END() | 395 IPC_STRUCT_TRAITS_END() |
| 398 | 396 |
| 399 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) | 397 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) |
| 400 IPC_STRUCT_TRAITS_MEMBER(origin) | 398 IPC_STRUCT_TRAITS_MEMBER(origin) |
| 401 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) | 399 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) |
| 402 IPC_STRUCT_TRAITS_MEMBER(name) | 400 IPC_STRUCT_TRAITS_MEMBER(name) |
| 403 IPC_STRUCT_TRAITS_MEMBER(unique_name) | 401 IPC_STRUCT_TRAITS_MEMBER(unique_name) |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 #endif | 891 #endif |
| 894 | 892 |
| 895 // PlzNavigate | 893 // PlzNavigate |
| 896 // Tells the renderer that a navigation is ready to commit. The renderer should | 894 // Tells the renderer that a navigation is ready to commit. The renderer should |
| 897 // request |stream_url| to get access to the stream containing the body of the | 895 // request |stream_url| to get access to the stream containing the body of the |
| 898 // response. | 896 // response. |
| 899 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 897 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, |
| 900 content::ResourceResponseHead, /* response */ | 898 content::ResourceResponseHead, /* response */ |
| 901 GURL, /* stream_url */ | 899 GURL, /* stream_url */ |
| 902 content::CommonNavigationParams, /* common_params */ | 900 content::CommonNavigationParams, /* common_params */ |
| 903 content::RequestNavigationParams) /* request_params */ | 901 content::RequestNavigationParams /* request_params */) |
| 904 | 902 |
| 905 // PlzNavigate | 903 // PlzNavigate |
| 906 // Tells the renderer that a navigation failed with the error code |error_code| | 904 // Tells the renderer that a navigation failed with the error code |error_code| |
| 907 // and that the renderer should display an appropriate error page. | 905 // and that the renderer should display an appropriate error page. |
| 908 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 906 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
| 909 content::CommonNavigationParams, /* common_params */ | 907 content::CommonNavigationParams, /* common_params */ |
| 910 content::RequestNavigationParams, /* request_params */ | 908 content::RequestNavigationParams, /* request_params */ |
| 911 bool, /* stale_copy_in_cache */ | 909 bool, /* stale_copy_in_cache */ |
| 912 int /* error_code */) | 910 int /* error_code */) |
| 913 | 911 |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1570 // nearest find result in the sending frame. | 1568 // nearest find result in the sending frame. |
| 1571 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1569 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1572 int /* nfr_request_id */, | 1570 int /* nfr_request_id */, |
| 1573 float /* distance */) | 1571 float /* distance */) |
| 1574 #endif | 1572 #endif |
| 1575 | 1573 |
| 1576 // Adding a new message? Stick to the sort order above: first platform | 1574 // Adding a new message? Stick to the sort order above: first platform |
| 1577 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1575 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1578 // platform independent FrameHostMsg, then ifdefs for platform specific | 1576 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1579 // FrameHostMsg. | 1577 // FrameHostMsg. |
| OLD | NEW |