OLD | NEW |
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 "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "content/browser/frame_host/navigator_delegate.h" | 10 #include "content/browser/frame_host/navigator_delegate.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // before the transfer. | 123 // before the transfer. |
124 virtual void RequestTransferURL( | 124 virtual void RequestTransferURL( |
125 RenderFrameHostImpl* render_frame_host, | 125 RenderFrameHostImpl* render_frame_host, |
126 const GURL& url, | 126 const GURL& url, |
127 SiteInstance* source_site_instance, | 127 SiteInstance* source_site_instance, |
128 const std::vector<GURL>& redirect_chain, | 128 const std::vector<GURL>& redirect_chain, |
129 const Referrer& referrer, | 129 const Referrer& referrer, |
130 ui::PageTransition page_transition, | 130 ui::PageTransition page_transition, |
131 WindowOpenDisposition disposition, | 131 WindowOpenDisposition disposition, |
132 const GlobalRequestID& transferred_global_request_id, | 132 const GlobalRequestID& transferred_global_request_id, |
133 bool should_replace_current_entry, | 133 bool should_replace_current_entry) {} |
134 bool user_gesture) {} | |
135 | 134 |
136 // PlzNavigate | 135 // PlzNavigate |
137 // Called after receiving a BeforeUnloadACK IPC from the renderer. If | 136 // Called after receiving a BeforeUnloadACK IPC from the renderer. If |
138 // |frame_tree_node| has a NavigationRequest waiting for the renderer | 137 // |frame_tree_node| has a NavigationRequest waiting for the renderer |
139 // response, then the request is either started or canceled, depending on the | 138 // response, then the request is either started or canceled, depending on the |
140 // value of |proceed|. | 139 // value of |proceed|. |
141 virtual void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, | 140 virtual void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, |
142 bool proceed) {} | 141 bool proceed) {} |
143 | 142 |
144 // PlzNavigate | 143 // PlzNavigate |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 const base::TimeTicks& renderer_before_unload_end_time) {} | 186 const base::TimeTicks& renderer_before_unload_end_time) {} |
188 | 187 |
189 protected: | 188 protected: |
190 friend class base::RefCounted<Navigator>; | 189 friend class base::RefCounted<Navigator>; |
191 virtual ~Navigator() {} | 190 virtual ~Navigator() {} |
192 }; | 191 }; |
193 | 192 |
194 } // namespace content | 193 } // namespace content |
195 | 194 |
196 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ | 195 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ |
OLD | NEW |