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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 // Returns the delegate of this Navigator. | 47 // Returns the delegate of this Navigator. |
48 virtual NavigatorDelegate* GetDelegate(); | 48 virtual NavigatorDelegate* GetDelegate(); |
49 | 49 |
50 // Returns the NavigationController associated with this Navigator. | 50 // Returns the NavigationController associated with this Navigator. |
51 virtual NavigationController* GetController(); | 51 virtual NavigationController* GetController(); |
52 | 52 |
53 // Notifications coming from the RenderFrameHosts ---------------------------- | 53 // Notifications coming from the RenderFrameHosts ---------------------------- |
54 | 54 |
55 // The RenderFrameHostImpl started a provisional load. | 55 // The RenderFrameHostImpl started a provisional load. |
56 virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 56 virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
57 const GURL& url) {}; | 57 const GURL& url, |
| 58 double navigation_start) {}; |
58 | 59 |
59 // The RenderFrameHostImpl has failed a provisional load. | 60 // The RenderFrameHostImpl has failed a provisional load. |
60 virtual void DidFailProvisionalLoadWithError( | 61 virtual void DidFailProvisionalLoadWithError( |
61 RenderFrameHostImpl* render_frame_host, | 62 RenderFrameHostImpl* render_frame_host, |
62 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {}; | 63 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {}; |
63 | 64 |
64 // The RenderFrameHostImpl has failed to load the document. | 65 // The RenderFrameHostImpl has failed to load the document. |
65 virtual void DidFailLoadWithError( | 66 virtual void DidFailLoadWithError( |
66 RenderFrameHostImpl* render_frame_host, | 67 RenderFrameHostImpl* render_frame_host, |
67 const GURL& url, | 68 const GURL& url, |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 const base::TimeTicks& renderer_before_unload_end_time) {} | 178 const base::TimeTicks& renderer_before_unload_end_time) {} |
178 | 179 |
179 protected: | 180 protected: |
180 friend class base::RefCounted<Navigator>; | 181 friend class base::RefCounted<Navigator>; |
181 virtual ~Navigator() {} | 182 virtual ~Navigator() {} |
182 }; | 183 }; |
183 | 184 |
184 } // namespace content | 185 } // namespace content |
185 | 186 |
186 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ | 187 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ |
OLD | NEW |