| 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 "content/public/browser/invalidate_type.h" | 8 #include "content/public/browser/invalidate_type.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 bool is_main_frame, | 24 bool is_main_frame, |
| 25 const GURL& validated_url, | 25 const GURL& validated_url, |
| 26 bool is_error_page, | 26 bool is_error_page, |
| 27 bool is_iframe_srcdoc) {} | 27 bool is_iframe_srcdoc) {} |
| 28 | 28 |
| 29 // A provisional load in |render_frame_host| failed. | 29 // A provisional load in |render_frame_host| failed. |
| 30 virtual void DidFailProvisionalLoadWithError( | 30 virtual void DidFailProvisionalLoadWithError( |
| 31 RenderFrameHostImpl* render_frame_host, | 31 RenderFrameHostImpl* render_frame_host, |
| 32 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} | 32 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} |
| 33 | 33 |
| 34 // A redirect was processed in |render_frame_host| during a provisional load. |
| 35 virtual void DidRedirectProvisionalLoad( |
| 36 RenderFrameHostImpl* render_frame_host, |
| 37 const GURL& validated_target_url) {} |
| 38 |
| 34 // Notification to the Navigator embedder that navigation state has | 39 // Notification to the Navigator embedder that navigation state has |
| 35 // changed. This method corresponds to | 40 // changed. This method corresponds to |
| 36 // WebContents::NotifyNavigationStateChanged. | 41 // WebContents::NotifyNavigationStateChanged. |
| 37 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {} | 42 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {} |
| 38 }; | 43 }; |
| 39 | 44 |
| 40 } // namspace content | 45 } // namspace content |
| 41 | 46 |
| 42 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 47 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| OLD | NEW |