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 public: | 27 public: |
28 // The RenderFrameHost started a provisional load for the frame | 28 // The RenderFrameHost started a provisional load for the frame |
29 // represented by |render_frame_host|. | 29 // represented by |render_frame_host|. |
30 virtual void DidStartProvisionalLoad( | 30 virtual void DidStartProvisionalLoad( |
31 RenderFrameHostImpl* render_frame_host, | 31 RenderFrameHostImpl* render_frame_host, |
32 int parent_routing_id, | 32 int parent_routing_id, |
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 virtual void DidStartNavigationTransition( |
| 38 RenderFrameHostImpl* render_frame_host) {} |
| 39 |
37 // A provisional load in |render_frame_host| failed. | 40 // A provisional load in |render_frame_host| failed. |
38 virtual void DidFailProvisionalLoadWithError( | 41 virtual void DidFailProvisionalLoadWithError( |
39 RenderFrameHostImpl* render_frame_host, | 42 RenderFrameHostImpl* render_frame_host, |
40 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} | 43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} |
41 | 44 |
42 // Document load in |render_frame_host| failed. | 45 // Document load in |render_frame_host| failed. |
43 virtual void DidFailLoadWithError( | 46 virtual void DidFailLoadWithError( |
44 RenderFrameHostImpl* render_frame_host, | 47 RenderFrameHostImpl* render_frame_host, |
45 const GURL& url, | 48 const GURL& url, |
46 int error_code, | 49 int error_code, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 const OpenURLParams& params) {} | 103 const OpenURLParams& params) {} |
101 | 104 |
102 // Returns whether URLs for aborted browser-initiated navigations should be | 105 // Returns whether URLs for aborted browser-initiated navigations should be |
103 // preserved in the omnibox. Defaults to false. | 106 // preserved in the omnibox. Defaults to false. |
104 virtual bool ShouldPreserveAbortedURLs(); | 107 virtual bool ShouldPreserveAbortedURLs(); |
105 }; | 108 }; |
106 | 109 |
107 } // namspace content | 110 } // namspace content |
108 | 111 |
109 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 112 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
OLD | NEW |