Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: trunk/src/chrome/browser/ui/search/instant_page.h

Issue 135903002: Revert 244407 "InstantExtended: remove dead code related to the ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698