| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "content/browser/frame_host/navigator.h" | 5 #include "content/browser/frame_host/navigator.h" |
| 6 | 6 |
| 7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "content/common/resource_request_body_impl.h" | 8 #include "content/common/resource_request_body_impl.h" |
| 9 #include "content/public/browser/stream_handle.h" | 9 #include "content/public/browser/stream_handle.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 | 12 |
| 13 NavigatorDelegate* Navigator::GetDelegate() { | 13 NavigatorDelegate* Navigator::GetDelegate() { |
| 14 return nullptr; | 14 return nullptr; |
| 15 } | 15 } |
| 16 | 16 |
| 17 NavigationController* Navigator::GetController() { | 17 NavigationController* Navigator::GetController() { |
| 18 return NULL; | 18 return NULL; |
| 19 } | 19 } |
| 20 | 20 |
| 21 bool Navigator::NavigateToPendingEntry(FrameTreeNode* frame_tree_node, | 21 bool Navigator::NavigateToPendingEntry(FrameTreeNode* frame_tree_node, |
| 22 const FrameNavigationEntry& frame_entry, | 22 const FrameNavigationEntry& frame_entry, |
| 23 ReloadType reload_type, | 23 ReloadType reload_type, |
| 24 bool is_same_document_history_load) { | 24 bool is_same_document_history_load) { |
| 25 return false; | 25 return false; |
| 26 } | 26 } |
| 27 | 27 |
| 28 bool Navigator::NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host) { | 28 bool Navigator::NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, |
| 29 const GURL& default_url) { |
| 29 return false; | 30 return false; |
| 30 } | 31 } |
| 31 | 32 |
| 32 base::TimeTicks Navigator::GetCurrentLoadStart() { | 33 base::TimeTicks Navigator::GetCurrentLoadStart() { |
| 33 return base::TimeTicks::Now(); | 34 return base::TimeTicks::Now(); |
| 34 } | 35 } |
| 35 | 36 |
| 36 void Navigator::OnBeginNavigation(FrameTreeNode* frame_tree_node, | 37 void Navigator::OnBeginNavigation(FrameTreeNode* frame_tree_node, |
| 37 const CommonNavigationParams& common_params, | 38 const CommonNavigationParams& common_params, |
| 38 const BeginNavigationParams& begin_params) {} | 39 const BeginNavigationParams& begin_params) {} |
| 39 | 40 |
| 40 NavigationHandleImpl* Navigator::GetNavigationHandleForFrameHost( | 41 NavigationHandleImpl* Navigator::GetNavigationHandleForFrameHost( |
| 41 RenderFrameHostImpl* render_frame_host) { | 42 RenderFrameHostImpl* render_frame_host) { |
| 42 return nullptr; | 43 return nullptr; |
| 43 } | 44 } |
| 44 | 45 |
| 45 } // namespace content | 46 } // namespace content |
| OLD | NEW |