| 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 26 matching lines...) Expand all Loading... |
| 37 // A provisional load in |render_frame_host| failed. | 37 // A provisional load in |render_frame_host| failed. |
| 38 virtual void DidFailProvisionalLoadWithError( | 38 virtual void DidFailProvisionalLoadWithError( |
| 39 RenderFrameHostImpl* render_frame_host, | 39 RenderFrameHostImpl* render_frame_host, |
| 40 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} | 40 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} |
| 41 | 41 |
| 42 // Document load in |render_frame_host| failed. | 42 // Document load in |render_frame_host| failed. |
| 43 virtual void DidFailLoadWithError( | 43 virtual void DidFailLoadWithError( |
| 44 RenderFrameHostImpl* render_frame_host, | 44 RenderFrameHostImpl* render_frame_host, |
| 45 const GURL& url, | 45 const GURL& url, |
| 46 int error_code, | 46 int error_code, |
| 47 const base::string16& error_description) {} | 47 const base::string16& error_description, |
| 48 bool was_ignored_by_handler) {} |
| 48 | 49 |
| 49 // A navigation was committed in |render_frame_host|. | 50 // A navigation was committed in |render_frame_host|. |
| 50 virtual void DidCommitProvisionalLoad( | 51 virtual void DidCommitProvisionalLoad( |
| 51 RenderFrameHostImpl* render_frame_host, | 52 RenderFrameHostImpl* render_frame_host, |
| 52 const GURL& url, | 53 const GURL& url, |
| 53 ui::PageTransition transition_type) {} | 54 ui::PageTransition transition_type) {} |
| 54 | 55 |
| 55 // Handles post-navigation tasks in navigation BEFORE the entry has been | 56 // Handles post-navigation tasks in navigation BEFORE the entry has been |
| 56 // committed to the NavigationController. | 57 // committed to the NavigationController. |
| 57 virtual void DidNavigateMainFramePreCommit(bool navigation_is_within_page) {} | 58 virtual void DidNavigateMainFramePreCommit(bool navigation_is_within_page) {} |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // throbber stopping. | 109 // throbber stopping. |
| 109 virtual void DidStopLoading() {} | 110 virtual void DidStopLoading() {} |
| 110 | 111 |
| 111 // The load progress was changed. | 112 // The load progress was changed. |
| 112 virtual void DidChangeLoadProgress() {} | 113 virtual void DidChangeLoadProgress() {} |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 } // namspace content | 116 } // namspace content |
| 116 | 117 |
| 117 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 118 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| OLD | NEW |