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

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

Issue 743803002: Avoid stale navigation requests without excessive page id knowledge in the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more saving Created 6 years 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 IPC_STRUCT_MEMBER(content::CommonNavigationParams, common_params) 217 IPC_STRUCT_MEMBER(content::CommonNavigationParams, common_params)
218 IPC_STRUCT_MEMBER(content::RequestNavigationParams, request_params) 218 IPC_STRUCT_MEMBER(content::RequestNavigationParams, request_params)
219 IPC_STRUCT_MEMBER(content::CommitNavigationParams, commit_params) 219 IPC_STRUCT_MEMBER(content::CommitNavigationParams, commit_params)
220 220
221 // The page_id for this navigation, or -1 if it is a new navigation. Back, 221 // The page_id for this navigation, or -1 if it is a new navigation. Back,
222 // Forward, and Reload navigations should have a valid page_id. If the load 222 // Forward, and Reload navigations should have a valid page_id. If the load
223 // succeeds, then this page_id will be reflected in the resultant 223 // succeeds, then this page_id will be reflected in the resultant
224 // FrameHostMsg_DidCommitProvisionalLoad message. 224 // FrameHostMsg_DidCommitProvisionalLoad message.
225 IPC_STRUCT_MEMBER(int32, page_id) 225 IPC_STRUCT_MEMBER(int32, page_id)
226 226
227 // If page_id is -1, then pending_history_list_offset will also be -1. 227 // For history navigations, this is the offset in the history list of the
228 // Otherwise, it contains the offset into the history list corresponding to 228 // pending load. For non-history navigations, this will be ignored.
229 // the current navigation.
230 IPC_STRUCT_MEMBER(int, pending_history_list_offset) 229 IPC_STRUCT_MEMBER(int, pending_history_list_offset)
231 230
232 // Informs the RenderView of where its current page contents reside in 231 // Informs the RenderView of where its current page contents reside in
233 // session history and the total size of the session history list. 232 // session history and the total size of the session history list.
234 IPC_STRUCT_MEMBER(int, current_history_list_offset) 233 IPC_STRUCT_MEMBER(int, current_history_list_offset)
235 IPC_STRUCT_MEMBER(int, current_history_list_length) 234 IPC_STRUCT_MEMBER(int, current_history_list_length)
236 235
237 // Informs the RenderView the session history should be cleared. In that 236 // Informs the RenderView the session history should be cleared. In that
238 // case, the RenderView needs to notify the browser that the clearing was 237 // case, the RenderView needs to notify the browser that the clearing was
239 // succesful when the navigation commits. 238 // succesful when the navigation commits.
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 791 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
793 792
794 #if defined(OS_MACOSX) || defined(OS_ANDROID) 793 #if defined(OS_MACOSX) || defined(OS_ANDROID)
795 794
796 // Message to show/hide a popup menu using native controls. 795 // Message to show/hide a popup menu using native controls.
797 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 796 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
798 FrameHostMsg_ShowPopup_Params) 797 FrameHostMsg_ShowPopup_Params)
799 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 798 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
800 799
801 #endif 800 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698