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_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "content/public/browser/invalidate_type.h" | 9 #include "content/public/browser/invalidate_type.h" |
10 #include "content/public/browser/navigation_controller.h" | 10 #include "content/public/browser/navigation_controller.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 class CONTENT_EXPORT NavigatorDelegate { | 27 class CONTENT_EXPORT NavigatorDelegate { |
28 public: | 28 public: |
29 // The RenderFrameHost started a provisional load for the frame | 29 // The RenderFrameHost started a provisional load for the frame |
30 // represented by |render_frame_host|. | 30 // represented by |render_frame_host|. |
31 virtual void DidStartProvisionalLoad( | 31 virtual void DidStartProvisionalLoad( |
32 RenderFrameHostImpl* render_frame_host, | 32 RenderFrameHostImpl* render_frame_host, |
33 const GURL& validated_url, | 33 const GURL& validated_url, |
34 bool is_error_page, | 34 bool is_error_page, |
35 bool is_iframe_srcdoc) {} | 35 bool is_iframe_srcdoc) {} |
36 | 36 |
37 // The |render_frame_host| started a transition-flagged navigation. | |
38 virtual void DidStartNavigationTransition( | |
39 RenderFrameHostImpl* render_frame_host) {} | |
40 | |
41 // A provisional load in |render_frame_host| failed. | 37 // A provisional load in |render_frame_host| failed. |
42 virtual void DidFailProvisionalLoadWithError( | 38 virtual void DidFailProvisionalLoadWithError( |
43 RenderFrameHostImpl* render_frame_host, | 39 RenderFrameHostImpl* render_frame_host, |
44 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} | 40 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} |
45 | 41 |
46 // Document load in |render_frame_host| failed. | 42 // Document load in |render_frame_host| failed. |
47 virtual void DidFailLoadWithError( | 43 virtual void DidFailLoadWithError( |
48 RenderFrameHostImpl* render_frame_host, | 44 RenderFrameHostImpl* render_frame_host, |
49 const GURL& url, | 45 const GURL& url, |
50 int error_code, | 46 int error_code, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // throbber stopping. | 108 // throbber stopping. |
113 virtual void DidStopLoading() {} | 109 virtual void DidStopLoading() {} |
114 | 110 |
115 // The load progress was changed. | 111 // The load progress was changed. |
116 virtual void DidChangeLoadProgress() {} | 112 virtual void DidChangeLoadProgress() {} |
117 }; | 113 }; |
118 | 114 |
119 } // namspace content | 115 } // namspace content |
120 | 116 |
121 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 117 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
OLD | NEW |