| 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..e18c1ef99633fbe2fe661f2b516f9f9ed7d0f135 100644
|
| --- a/chrome/browser/instant/instant_client.h
|
| +++ b/chrome/browser/instant/instant_client.h
|
| @@ -58,6 +58,9 @@ class InstantClient : public content::WebContentsObserver {
|
| // strokes.
|
| virtual void StopCapturingKeyStrokes() = 0;
|
|
|
| + // Called when the page is about to navigate.
|
| + virtual void InstantClientAboutToNavigate(const GURL& url) = 0;
|
| +
|
| protected:
|
| virtual ~Delegate();
|
| };
|
| @@ -123,6 +126,13 @@ class InstantClient : public content::WebContentsObserver {
|
| bool is_main_frame,
|
| content::RenderViewHost* render_view_host) OVERRIDE;
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| + virtual void DidCommitProvisionalLoadForFrame(
|
| + int64 frame_id,
|
| + bool is_main_frame,
|
| + const GURL& url,
|
| + content::PageTransition transition_type,
|
| + content::RenderViewHost* render_view_host) OVERRIDE;
|
| + virtual void AboutToOpenURL(const GURL& url) OVERRIDE;
|
|
|
| void SetSuggestions(int page_id,
|
| const std::vector<InstantSuggestion>& suggestions);
|
|
|