| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 #if defined(OS_ANDROID) | 73 #if defined(OS_ANDROID) |
| 74 IPC_STRUCT_TRAITS_MEMBER(selection_start) | 74 IPC_STRUCT_TRAITS_MEMBER(selection_start) |
| 75 IPC_STRUCT_TRAITS_MEMBER(selection_end) | 75 IPC_STRUCT_TRAITS_MEMBER(selection_end) |
| 76 #endif | 76 #endif |
| 77 IPC_STRUCT_TRAITS_END() | 77 IPC_STRUCT_TRAITS_END() |
| 78 | 78 |
| 79 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) | 79 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) |
| 80 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) | 80 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) |
| 81 IPC_STRUCT_TRAITS_MEMBER(request_id) | 81 IPC_STRUCT_TRAITS_MEMBER(request_id) |
| 82 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) | 82 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) |
| 83 IPC_STRUCT_TRAITS_MEMBER(link_followed) |
| 83 IPC_STRUCT_TRAITS_END() | 84 IPC_STRUCT_TRAITS_END() |
| 84 | 85 |
| 85 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 86 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 86 // Error code as reported in the DidFailProvisionalLoad callback. | 87 // Error code as reported in the DidFailProvisionalLoad callback. |
| 87 IPC_STRUCT_MEMBER(int, error_code) | 88 IPC_STRUCT_MEMBER(int, error_code) |
| 88 // An error message generated from the error_code. This can be an empty | 89 // An error message generated from the error_code. This can be an empty |
| 89 // string if we were unable to find a meaningful description. | 90 // string if we were unable to find a meaningful description. |
| 90 IPC_STRUCT_MEMBER(base::string16, error_description) | 91 IPC_STRUCT_MEMBER(base::string16, error_description) |
| 91 // The URL that the error is reported for. | 92 // The URL that the error is reported for. |
| 92 IPC_STRUCT_MEMBER(GURL, url) | 93 IPC_STRUCT_MEMBER(GURL, url) |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 // |endOffset| are the offsets of the selection in the returned |content|. | 612 // |endOffset| are the offsets of the selection in the returned |content|. |
| 612 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 613 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
| 613 base::string16, /* content */ | 614 base::string16, /* content */ |
| 614 size_t, /* startOffset */ | 615 size_t, /* startOffset */ |
| 615 size_t /* endOffset */) | 616 size_t /* endOffset */) |
| 616 | 617 |
| 617 // Notifies the browser that the renderer has a pending navigation transition. | 618 // Notifies the browser that the renderer has a pending navigation transition. |
| 618 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, | 619 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, |
| 619 int /* render_frame_id */, | 620 int /* render_frame_id */, |
| 620 bool /* is_transition */) | 621 bool /* is_transition */) |
| OLD | NEW |