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

Side by Side Diff: content/browser/frame_host/navigator_impl.h

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/browser/frame_host/navigation_controller_impl.h" 9 #include "content/browser/frame_host/navigation_controller_impl.h"
10 #include "content/browser/frame_host/navigator.h" 10 #include "content/browser/frame_host/navigator.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual void RequestTransferURL( 67 virtual void RequestTransferURL(
68 RenderFrameHostImpl* render_frame_host, 68 RenderFrameHostImpl* render_frame_host,
69 const GURL& url, 69 const GURL& url,
70 const std::vector<GURL>& redirect_chain, 70 const std::vector<GURL>& redirect_chain,
71 const Referrer& referrer, 71 const Referrer& referrer,
72 ui::PageTransition page_transition, 72 ui::PageTransition page_transition,
73 WindowOpenDisposition disposition, 73 WindowOpenDisposition disposition,
74 const GlobalRequestID& transferred_global_request_id, 74 const GlobalRequestID& transferred_global_request_id,
75 bool should_replace_current_entry, 75 bool should_replace_current_entry,
76 bool user_gesture) OVERRIDE; 76 bool user_gesture) OVERRIDE;
77 virtual void CommitNavigation( 77 virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host,
78 RenderFrameHostImpl* render_frame_host, 78 const GURL& url,
79 const NavigationBeforeCommitInfo& info) OVERRIDE; 79 ResourceResponse* response,
80 scoped_ptr<StreamHandle> body) OVERRIDE;
80 81
81 private: 82 private:
82 virtual ~NavigatorImpl() {} 83 virtual ~NavigatorImpl() {}
83 84
84 // Navigates to the given entry, which must be the pending entry. Private 85 // Navigates to the given entry, which must be the pending entry. Private
85 // because all callers should use NavigateToPendingEntry. 86 // because all callers should use NavigateToPendingEntry.
86 bool NavigateToEntry( 87 bool NavigateToEntry(
87 RenderFrameHostImpl* render_frame_host, 88 RenderFrameHostImpl* render_frame_host,
88 const NavigationEntryImpl& entry, 89 const NavigationEntryImpl& entry,
89 NavigationController::ReloadType reload_type); 90 NavigationController::ReloadType reload_type);
(...skipping 13 matching lines...) Expand all
103 // Used to notify the object embedding this Navigator about navigation 104 // Used to notify the object embedding this Navigator about navigation
104 // events. Can be NULL in tests. 105 // events. Can be NULL in tests.
105 NavigatorDelegate* delegate_; 106 NavigatorDelegate* delegate_;
106 107
107 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 108 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
108 }; 109 };
109 110
110 } // namespace content 111 } // namespace content
111 112
112 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 113 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698