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

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

Issue 1672373002: Don't rely on the pending NavigationEntry for location.replace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug numbers Created 4 years, 10 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 // This is the value from the browser (copied from the navigation request) 215 // This is the value from the browser (copied from the navigation request)
216 // indicating whether it intended to make a new entry. TODO(avi): Remove this 216 // indicating whether it intended to make a new entry. TODO(avi): Remove this
217 // when the pending entry situation is made sane and the browser keeps them 217 // when the pending entry situation is made sane and the browser keeps them
218 // around long enough to match them via nav_entry_id. 218 // around long enough to match them via nav_entry_id.
219 IPC_STRUCT_MEMBER(bool, intended_as_new_entry) 219 IPC_STRUCT_MEMBER(bool, intended_as_new_entry)
220 220
221 // Whether this commit created a new entry. 221 // Whether this commit created a new entry.
222 IPC_STRUCT_MEMBER(bool, did_create_new_entry) 222 IPC_STRUCT_MEMBER(bool, did_create_new_entry)
223 223
224 // Whether this commit should replace the current entry.
225 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
226
224 // Information regarding the security of the connection (empty if the 227 // Information regarding the security of the connection (empty if the
225 // connection was not secure). 228 // connection was not secure).
226 IPC_STRUCT_MEMBER(std::string, security_info) 229 IPC_STRUCT_MEMBER(std::string, security_info)
227 230
228 // The gesture that initiated this navigation. 231 // The gesture that initiated this navigation.
229 IPC_STRUCT_MEMBER(content::NavigationGesture, gesture) 232 IPC_STRUCT_MEMBER(content::NavigationGesture, gesture)
230 233
231 // True if this was a post request. 234 // True if this was a post request.
232 IPC_STRUCT_MEMBER(bool, is_post) 235 IPC_STRUCT_MEMBER(bool, is_post)
233 236
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1432 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1430 int /* version */, 1433 int /* version */,
1431 std::vector<gfx::RectF> /* rects */, 1434 std::vector<gfx::RectF> /* rects */,
1432 gfx::RectF /* active_rect */) 1435 gfx::RectF /* active_rect */)
1433 #endif 1436 #endif
1434 1437
1435 // Adding a new message? Stick to the sort order above: first platform 1438 // Adding a new message? Stick to the sort order above: first platform
1436 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1439 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1437 // platform independent FrameHostMsg, then ifdefs for platform specific 1440 // platform independent FrameHostMsg, then ifdefs for platform specific
1438 // FrameHostMsg. 1441 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_unittest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698