Index: chrome/browser/instant/instant_client.h |
diff --git a/chrome/browser/instant/instant_client.h b/chrome/browser/instant/instant_client.h |
index 95ab9096d75d298fdc9736ea61838e03d824cad0..88f3eaf8565fddfece6a69185efa32cf2f221728 100644 |
--- a/chrome/browser/instant/instant_client.h |
+++ b/chrome/browser/instant/instant_client.h |
@@ -58,6 +58,10 @@ class InstantClient : public content::WebContentsObserver { |
// strokes. |
virtual void StopCapturingKeyStrokes() = 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(); |
}; |
@@ -133,6 +137,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); |
samarth
2012/12/07 02:01:35
nit: keep the same name as in the Delegate, i.e. N
Shishir
2012/12/10 20:40:39
This name is consistent with the IPC name which is
|
Delegate* const delegate_; |