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

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

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (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_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool user_gesture) {} 107 bool user_gesture) {}
108 108
109 // The RenderFrameHostImpl wants to transfer the request to a new renderer. 109 // The RenderFrameHostImpl wants to transfer the request to a new renderer.
110 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened 110 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened
111 // before the transfer. 111 // before the transfer.
112 virtual void RequestTransferURL( 112 virtual void RequestTransferURL(
113 RenderFrameHostImpl* render_frame_host, 113 RenderFrameHostImpl* render_frame_host,
114 const GURL& url, 114 const GURL& url,
115 const std::vector<GURL>& redirect_chain, 115 const std::vector<GURL>& redirect_chain,
116 const Referrer& referrer, 116 const Referrer& referrer,
117 PageTransition page_transition, 117 ui::PageTransition page_transition,
118 WindowOpenDisposition disposition, 118 WindowOpenDisposition disposition,
119 const GlobalRequestID& transferred_global_request_id, 119 const GlobalRequestID& transferred_global_request_id,
120 bool should_replace_current_entry, 120 bool should_replace_current_entry,
121 bool user_gesture) {} 121 bool user_gesture) {}
122 122
123 // PlzNavigate 123 // PlzNavigate
124 // Signal |render_frame_host| that a navigation is ready to commit (the 124 // Signal |render_frame_host| that a navigation is ready to commit (the
125 // response to the navigation request has been received). 125 // response to the navigation request has been received).
126 virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host, 126 virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host,
127 const NavigationBeforeCommitInfo& info) {}; 127 const NavigationBeforeCommitInfo& info) {};
128 128
129 protected: 129 protected:
130 friend class base::RefCounted<Navigator>; 130 friend class base::RefCounted<Navigator>;
131 virtual ~Navigator() {} 131 virtual ~Navigator() {}
132 }; 132 };
133 133
134 } // namespace content 134 } // namespace content
135 135
136 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 136 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_request_info.h ('k') | content/browser/frame_host/navigator_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698