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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2136963002: PlzNavigate: Fix missing navigation information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PlzNavigate: Fix missing navigation information. Created 4 years, 5 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 953
954 // Creates a factory object used for creating audio and video renderers. 954 // Creates a factory object used for creating audio and video renderers.
955 std::unique_ptr<MediaStreamRendererFactory> CreateRendererFactory(); 955 std::unique_ptr<MediaStreamRendererFactory> CreateRendererFactory();
956 956
957 // Does preparation for the navigation to |url|. 957 // Does preparation for the navigation to |url|.
958 void PrepareRenderViewForNavigation( 958 void PrepareRenderViewForNavigation(
959 const GURL& url, 959 const GURL& url,
960 const RequestNavigationParams& request_params); 960 const RequestNavigationParams& request_params);
961 961
962 // PlzNavigate 962 // PlzNavigate
963 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents 963 // Sends a FrameHostMsg_BeginNavigation to the browser
964 // of the WebURLRequest. 964 void BeginNavigation(const NavigationPolicyInfo& info);
965 // |should_replace_current_entry| indicates that the current history entry
966 // will be replaced when the navigation commits. |is_client_redirect|
967 // indicates that the navigation originated as a client redirect.
968 // Note: those two concepts are separate. For example, a location.assign is a
969 // client redirect but it only replaces the current entry if called before
970 // load stop. location.replace on the other hand is a client redirect and
971 // always replaces the current entry.
972 void BeginNavigation(blink::WebURLRequest* request,
973 bool should_replace_current_entry,
974 bool is_client_redirect);
975 965
976 // Loads a data url. 966 // Loads a data url.
977 void LoadDataURL(const CommonNavigationParams& params, 967 void LoadDataURL(const CommonNavigationParams& params,
978 const RequestNavigationParams& request_params, 968 const RequestNavigationParams& request_params,
979 blink::WebLocalFrame* frame, 969 blink::WebLocalFrame* frame,
980 blink::WebFrameLoadType load_type, 970 blink::WebFrameLoadType load_type,
981 blink::WebHistoryItem item_for_history_navigation, 971 blink::WebHistoryItem item_for_history_navigation,
982 blink::WebHistoryLoadType history_load_type, 972 blink::WebHistoryLoadType history_load_type,
983 bool is_client_redirect); 973 bool is_client_redirect);
984 974
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 mojom::FrameHostPtr frame_host_; 1291 mojom::FrameHostPtr frame_host_;
1302 1292
1303 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1293 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1304 1294
1305 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1295 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1306 }; 1296 };
1307 1297
1308 } // namespace content 1298 } // namespace content
1309 1299
1310 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1300 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698