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