| 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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
| 10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 #if defined(OS_ANDROID) | 74 #if defined(OS_ANDROID) |
| 75 IPC_STRUCT_TRAITS_MEMBER(selection_start) | 75 IPC_STRUCT_TRAITS_MEMBER(selection_start) |
| 76 IPC_STRUCT_TRAITS_MEMBER(selection_end) | 76 IPC_STRUCT_TRAITS_MEMBER(selection_end) |
| 77 #endif | 77 #endif |
| 78 IPC_STRUCT_TRAITS_END() | 78 IPC_STRUCT_TRAITS_END() |
| 79 | 79 |
| 80 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) | 80 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) |
| 81 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) | 81 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) |
| 82 IPC_STRUCT_TRAITS_MEMBER(request_id) | 82 IPC_STRUCT_TRAITS_MEMBER(request_id) |
| 83 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) | 83 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) |
| 84 IPC_STRUCT_TRAITS_MEMBER(link_followed) |
| 84 IPC_STRUCT_TRAITS_END() | 85 IPC_STRUCT_TRAITS_END() |
| 85 | 86 |
| 86 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 87 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 87 // Error code as reported in the DidFailProvisionalLoad callback. | 88 // Error code as reported in the DidFailProvisionalLoad callback. |
| 88 IPC_STRUCT_MEMBER(int, error_code) | 89 IPC_STRUCT_MEMBER(int, error_code) |
| 89 // An error message generated from the error_code. This can be an empty | 90 // An error message generated from the error_code. This can be an empty |
| 90 // string if we were unable to find a meaningful description. | 91 // string if we were unable to find a meaningful description. |
| 91 IPC_STRUCT_MEMBER(base::string16, error_description) | 92 IPC_STRUCT_MEMBER(base::string16, error_description) |
| 92 // The URL that the error is reported for. | 93 // The URL that the error is reported for. |
| 93 IPC_STRUCT_MEMBER(GURL, url) | 94 IPC_STRUCT_MEMBER(GURL, url) |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 size_t /* endOffset */) | 660 size_t /* endOffset */) |
| 660 | 661 |
| 661 // Notifies the browser that the renderer has a pending navigation transition. | 662 // Notifies the browser that the renderer has a pending navigation transition. |
| 662 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, | 663 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, |
| 663 int /* render_frame_id */, | 664 int /* render_frame_id */, |
| 664 bool /* is_transition */) | 665 bool /* is_transition */) |
| 665 | 666 |
| 666 // Tells the browser to perform a navigation. | 667 // Tells the browser to perform a navigation. |
| 667 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 668 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
| 668 FrameHostMsg_BeginNavigation_Params) | 669 FrameHostMsg_BeginNavigation_Params) |
| OLD | NEW |