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( | 21 bool Navigator::NavigateToPendingEntry(FrameTreeNode* frame_tree_node, |
22 FrameTreeNode* frame_tree_node, | 22 const FrameNavigationEntry& frame_entry, |
23 const FrameNavigationEntry& frame_entry, | 23 ReloadType reload_type, |
24 NavigationController::ReloadType reload_type, | 24 bool is_same_document_history_load) { |
25 bool is_same_document_history_load) { | |
26 return false; | 25 return false; |
27 } | 26 } |
28 | 27 |
29 bool Navigator::NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, | 28 bool Navigator::NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, |
30 const std::string& unique_name) { | 29 const std::string& unique_name) { |
31 return false; | 30 return false; |
32 } | 31 } |
33 | 32 |
34 base::TimeTicks Navigator::GetCurrentLoadStart() { | 33 base::TimeTicks Navigator::GetCurrentLoadStart() { |
35 return base::TimeTicks::Now(); | 34 return base::TimeTicks::Now(); |
36 } | 35 } |
37 | 36 |
38 void Navigator::OnBeginNavigation(FrameTreeNode* frame_tree_node, | 37 void Navigator::OnBeginNavigation(FrameTreeNode* frame_tree_node, |
39 const CommonNavigationParams& common_params, | 38 const CommonNavigationParams& common_params, |
40 const BeginNavigationParams& begin_params) {} | 39 const BeginNavigationParams& begin_params) {} |
41 | 40 |
42 } // namespace content | 41 } // namespace content |
OLD | NEW |