Index: chrome/browser/instant/instant_client.h |
diff --git a/chrome/browser/instant/instant_client.h b/chrome/browser/instant/instant_client.h |
index c22a0a66e9addd4a082013d6f40e712911a5aaa2..19a08ae455ed485c1f9964f1b92cebd49a84ddbd 100644 |
--- a/chrome/browser/instant/instant_client.h |
+++ b/chrome/browser/instant/instant_client.h |
@@ -61,6 +61,10 @@ class InstantClient : public content::WebContentsObserver { |
// Called when the underlying RenderView crashes. |
virtual void RenderViewGone() = 0; |
+ // Called when the SearchBox wants to commit the page and navigate to the |
+ // specified URL. |
+ virtual void NavigateToURL(const GURL& url) = 0; |
+ |
protected: |
virtual ~Delegate(); |
}; |
@@ -137,6 +141,7 @@ class InstantClient : public content::WebContentsObserver { |
InstantSizeUnits units); |
void StartCapturingKeyStrokes(int page_id); |
void StopCapturingKeyStrokes(int page_id); |
+ void SearchBoxNavigate(int page_id, const GURL& url); |
Delegate* const delegate_; |