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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // represented by |render_frame_host|. | 49 // represented by |render_frame_host|. |
50 virtual void DidStartProvisionalLoad( | 50 virtual void DidStartProvisionalLoad( |
51 RenderFrameHostImpl* render_frame_host, | 51 RenderFrameHostImpl* render_frame_host, |
52 const GURL& validated_url, | 52 const GURL& validated_url, |
53 bool is_error_page, | 53 bool is_error_page, |
54 bool is_iframe_srcdoc) {} | 54 bool is_iframe_srcdoc) {} |
55 | 55 |
56 // A provisional load in |render_frame_host| failed. | 56 // A provisional load in |render_frame_host| failed. |
57 virtual void DidFailProvisionalLoadWithError( | 57 virtual void DidFailProvisionalLoadWithError( |
58 RenderFrameHostImpl* render_frame_host, | 58 RenderFrameHostImpl* render_frame_host, |
59 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} | 59 const GURL& validated_url, |
| 60 int error_code, |
| 61 const base::string16& error_description, |
| 62 bool was_ignored_by_handler) {} |
60 | 63 |
61 // Document load in |render_frame_host| failed. | 64 // Document load in |render_frame_host| failed. |
62 virtual void DidFailLoadWithError( | 65 virtual void DidFailLoadWithError( |
63 RenderFrameHostImpl* render_frame_host, | 66 RenderFrameHostImpl* render_frame_host, |
64 const GURL& url, | 67 const GURL& url, |
65 int error_code, | 68 int error_code, |
66 const base::string16& error_description, | 69 const base::string16& error_description, |
67 bool was_ignored_by_handler) {} | 70 bool was_ignored_by_handler) {} |
68 | 71 |
69 // A navigation was committed in |render_frame_host|. | 72 // A navigation was committed in |render_frame_host|. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // throbber stopping. | 130 // throbber stopping. |
128 virtual void DidStopLoading() {} | 131 virtual void DidStopLoading() {} |
129 | 132 |
130 // The load progress was changed. | 133 // The load progress was changed. |
131 virtual void DidChangeLoadProgress() {} | 134 virtual void DidChangeLoadProgress() {} |
132 }; | 135 }; |
133 | 136 |
134 } // namspace content | 137 } // namspace content |
135 | 138 |
136 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 139 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
OLD | NEW |