Index: trunk/src/chrome/browser/ui/search/instant_page.h |
=================================================================== |
--- trunk/src/chrome/browser/ui/search/instant_page.h (revision 244428) |
+++ trunk/src/chrome/browser/ui/search/instant_page.h (working copy) |
@@ -52,6 +52,9 @@ |
const content::WebContents* contents, |
const GURL& url) = 0; |
+ // Called when the page fails to load for whatever reason. |
+ virtual void InstantPageLoadFailed(content::WebContents* contents) = 0; |
+ |
protected: |
virtual ~Delegate(); |
}; |
@@ -116,6 +119,17 @@ |
const GURL& url, |
content::PageTransition transition_type, |
content::RenderViewHost* render_view_host) OVERRIDE; |
+ virtual void DidNavigateMainFrame( |
+ const content::LoadCommittedDetails& details, |
+ const content::FrameNavigateParams& params) OVERRIDE; |
+ virtual void DidFailProvisionalLoad( |
+ int64 frame_id, |
+ const base::string16& frame_unique_name, |
+ bool is_main_frame, |
+ const GURL& validated_url, |
+ int error_code, |
+ const base::string16& error_description, |
+ content::RenderViewHost* render_view_host) OVERRIDE; |
// Overridden from SearchModelObserver: |
virtual void ModelChanged(const SearchModel::State& old_state, |