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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 IPC_STRUCT_MEMBER(int64, post_id) | 134 IPC_STRUCT_MEMBER(int64, post_id) |
135 | 135 |
136 // Whether the frame navigation resulted in no change to the documents within | 136 // Whether the frame navigation resulted in no change to the documents within |
137 // the page. For example, the navigation may have just resulted in scrolling | 137 // the page. For example, the navigation may have just resulted in scrolling |
138 // to a named anchor. | 138 // to a named anchor. |
139 IPC_STRUCT_MEMBER(bool, was_within_same_page) | 139 IPC_STRUCT_MEMBER(bool, was_within_same_page) |
140 | 140 |
141 // The status code of the HTTP request. | 141 // The status code of the HTTP request. |
142 IPC_STRUCT_MEMBER(int, http_status_code) | 142 IPC_STRUCT_MEMBER(int, http_status_code) |
143 | 143 |
| 144 // This flag is used to warn if the renderer is displaying an error page, |
| 145 // so that we can set the appropriate page type. |
| 146 IPC_STRUCT_MEMBER(bool, url_is_unreachable) |
| 147 |
144 // True if the connection was proxied. In this case, socket_address | 148 // True if the connection was proxied. In this case, socket_address |
145 // will represent the address of the proxy, rather than the remote host. | 149 // will represent the address of the proxy, rather than the remote host. |
146 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) | 150 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) |
147 | 151 |
148 // Serialized history item state to store in the navigation entry. | 152 // Serialized history item state to store in the navigation entry. |
149 IPC_STRUCT_MEMBER(content::PageState, page_state) | 153 IPC_STRUCT_MEMBER(content::PageState, page_state) |
150 | 154 |
151 // Original request's URL. | 155 // Original request's URL. |
152 IPC_STRUCT_MEMBER(GURL, original_request_url) | 156 IPC_STRUCT_MEMBER(GURL, original_request_url) |
153 | 157 |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 759 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
756 | 760 |
757 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 761 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
758 | 762 |
759 // Message to show/hide a popup menu using native controls. | 763 // Message to show/hide a popup menu using native controls. |
760 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 764 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
761 FrameHostMsg_ShowPopup_Params) | 765 FrameHostMsg_ShowPopup_Params) |
762 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 766 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
763 | 767 |
764 #endif | 768 #endif |
OLD | NEW |