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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "content/browser/frame_host/navigation_controller_impl.h" | 9 #include "content/browser/frame_host/navigation_controller_impl.h" |
10 #include "content/browser/frame_host/navigator.h" | 10 #include "content/browser/frame_host/navigator.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual void RequestTransferURL( | 68 virtual void RequestTransferURL( |
69 RenderFrameHostImpl* render_frame_host, | 69 RenderFrameHostImpl* render_frame_host, |
70 const GURL& url, | 70 const GURL& url, |
71 const std::vector<GURL>& redirect_chain, | 71 const std::vector<GURL>& redirect_chain, |
72 const Referrer& referrer, | 72 const Referrer& referrer, |
73 PageTransition page_transition, | 73 PageTransition page_transition, |
74 WindowOpenDisposition disposition, | 74 WindowOpenDisposition disposition, |
75 const GlobalRequestID& transferred_global_request_id, | 75 const GlobalRequestID& transferred_global_request_id, |
76 bool should_replace_current_entry, | 76 bool should_replace_current_entry, |
77 bool user_gesture) OVERRIDE; | 77 bool user_gesture) OVERRIDE; |
78 virtual void CommitNavigation( | 78 virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host, |
79 RenderFrameHostImpl* render_frame_host, | 79 const GURL& url, |
80 const NavigationBeforeCommitInfo& info) OVERRIDE; | 80 ResourceResponse* response, |
| 81 scoped_ptr<StreamHandle> body) OVERRIDE; |
81 | 82 |
82 private: | 83 private: |
83 virtual ~NavigatorImpl() {} | 84 virtual ~NavigatorImpl() {} |
84 | 85 |
85 // Navigates to the given entry, which must be the pending entry. Private | 86 // Navigates to the given entry, which must be the pending entry. Private |
86 // because all callers should use NavigateToPendingEntry. | 87 // because all callers should use NavigateToPendingEntry. |
87 bool NavigateToEntry( | 88 bool NavigateToEntry( |
88 RenderFrameHostImpl* render_frame_host, | 89 RenderFrameHostImpl* render_frame_host, |
89 const NavigationEntryImpl& entry, | 90 const NavigationEntryImpl& entry, |
90 NavigationController::ReloadType reload_type); | 91 NavigationController::ReloadType reload_type); |
(...skipping 16 matching lines...) Expand all Loading... |
107 | 108 |
108 // System time at which the current load was started. | 109 // System time at which the current load was started. |
109 base::TimeTicks current_load_start_; | 110 base::TimeTicks current_load_start_; |
110 | 111 |
111 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 112 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
112 }; | 113 }; |
113 | 114 |
114 } // namespace content | 115 } // namespace content |
115 | 116 |
116 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 117 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
OLD | NEW |