| 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 bool is_renderer_initiated, |
| 30 bool has_user_gesture, |
| 29 const GURL& default_url) { | 31 const GURL& default_url) { |
| 30 return false; | 32 return false; |
| 31 } | 33 } |
| 32 | 34 |
| 33 base::TimeTicks Navigator::GetCurrentLoadStart() { | 35 base::TimeTicks Navigator::GetCurrentLoadStart() { |
| 34 return base::TimeTicks::Now(); | 36 return base::TimeTicks::Now(); |
| 35 } | 37 } |
| 36 | 38 |
| 37 void Navigator::OnBeginNavigation(FrameTreeNode* frame_tree_node, | 39 void Navigator::OnBeginNavigation(FrameTreeNode* frame_tree_node, |
| 38 const CommonNavigationParams& common_params, | 40 const CommonNavigationParams& common_params, |
| 39 const BeginNavigationParams& begin_params) {} | 41 const BeginNavigationParams& begin_params) {} |
| 40 | 42 |
| 41 } // namespace content | 43 } // namespace content |
| OLD | NEW |