Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: content/common/frame_messages.h

Issue 580133002: Update entry page type to include error pages when appropriate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix/improve tests. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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. Some services, such as
Charlie Reis 2014/09/24 16:43:43 nit: We don't need the second sentence, just in ca
wjmaclean 2014/09/24 17:59:11 Done.
146 // page zoom, should not operate on error pages.
147 IPC_STRUCT_MEMBER(bool, url_is_unreachable)
148
144 // True if the connection was proxied. In this case, socket_address 149 // True if the connection was proxied. In this case, socket_address
145 // will represent the address of the proxy, rather than the remote host. 150 // will represent the address of the proxy, rather than the remote host.
146 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) 151 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy)
147 152
148 // Serialized history item state to store in the navigation entry. 153 // Serialized history item state to store in the navigation entry.
149 IPC_STRUCT_MEMBER(content::PageState, page_state) 154 IPC_STRUCT_MEMBER(content::PageState, page_state)
150 155
151 // Original request's URL. 156 // Original request's URL.
152 IPC_STRUCT_MEMBER(GURL, original_request_url) 157 IPC_STRUCT_MEMBER(GURL, original_request_url)
153 158
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 760 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
756 761
757 #if defined(OS_MACOSX) || defined(OS_ANDROID) 762 #if defined(OS_MACOSX) || defined(OS_ANDROID)
758 763
759 // Message to show/hide a popup menu using native controls. 764 // Message to show/hide a popup menu using native controls.
760 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 765 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
761 FrameHostMsg_ShowPopup_Params) 766 FrameHostMsg_ShowPopup_Params)
762 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 767 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
763 768
764 #endif 769 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698