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

Unified Diff: content/browser/frame_host/navigator_impl.h

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Nasko's comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigator_impl.h
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h
index b461ae05cc6e2630c26f9e11cc7f51f854d2961a..e59a5d9cc81866ec13248c3ec70d7aaac6cd17cd 100644
--- a/content/browser/frame_host/navigator_impl.h
+++ b/content/browser/frame_host/navigator_impl.h
@@ -25,9 +25,15 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator {
NavigatorImpl(NavigationControllerImpl* navigation_controller,
NavigatorDelegate* delegate);
+ // PlzNavigate: Returns a FramsMsg_Commit_Params filled in based on the
+ // contents of |entry|.
+ scoped_ptr<FrameMsg_CommitNavigation_Params>
nasko 2014/09/03 16:30:26 Now that these are no longer static, they should m
clamy 2014/09/03 22:23:44 Done.
+ MakeCommitNavigationParams(
+ const NavigationEntryImpl& entry,
+ NavigationController::ReloadType reload_type);
+
// Fills in |params| based on the content of |entry|.
- static void MakeNavigateParams(const NavigationEntryImpl& entry,
- const NavigationControllerImpl& controller,
+ void MakeNavigateParams(const NavigationEntryImpl& entry,
NavigationController::ReloadType reload_type,
base::TimeTicks navigation_start,
FrameMsg_Navigate_Params* params);
@@ -77,7 +83,8 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator {
bool user_gesture) OVERRIDE;
virtual void CommitNavigation(
RenderFrameHostImpl* render_frame_host,
- const NavigationBeforeCommitInfo& info) OVERRIDE;
+ scoped_ptr<FrameMsg_CommitNavigation_Params> commit_navigation_params)
+ OVERRIDE;
private:
virtual ~NavigatorImpl() {}
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698