| Index: chrome/browser/instant/instant_page.h
|
| diff --git a/chrome/browser/instant/instant_page.h b/chrome/browser/instant/instant_page.h
|
| index 22565249edd20591b8a6336da9a73c0de8997d7a..2aa4d1883f6f8ec9cccde5fafe9bb61d6ae567d0 100644
|
| --- a/chrome/browser/instant/instant_page.h
|
| +++ b/chrome/browser/instant/instant_page.h
|
| @@ -77,13 +77,14 @@ class InstantPage : public content::WebContentsObserver {
|
| // strokes.
|
| virtual void StopCapturingKeyStrokes(content::WebContents* contents) = 0;
|
|
|
| - // Called when the page wants to navigate to the specified URL. Usually
|
| - // used by the page to navigate to privileged destinations (e.g. chrome://
|
| - // URLs) or to navigate to URLs that are hidden from the page using
|
| - // Restricted IDs (rid in the API).
|
| + // Called when the page wants to navigate to |url|. Usually used by the
|
| + // page to navigate to privileged destinations (e.g. chrome:// URLs) or to
|
| + // navigate to URLs that are hidden from the page using Restricted IDs (rid
|
| + // in the API).
|
| virtual void NavigateToURL(const content::WebContents* contents,
|
| const GURL& url,
|
| - content::PageTransition transition) = 0;
|
| + content::PageTransition transition,
|
| + WindowOpenDisposition disposition) = 0;
|
|
|
| protected:
|
| virtual ~Delegate();
|
| @@ -204,8 +205,10 @@ class InstantPage : public content::WebContentsObserver {
|
| InstantSizeUnits units);
|
| void OnStartCapturingKeyStrokes(int page_id);
|
| void OnStopCapturingKeyStrokes(int page_id);
|
| - void OnSearchBoxNavigate(int page_id, const GURL& url,
|
| - content::PageTransition transition);
|
| + void OnSearchBoxNavigate(int page_id,
|
| + const GURL& url,
|
| + content::PageTransition transition,
|
| + WindowOpenDisposition disposition);
|
|
|
| Delegate* const delegate_;
|
| bool supports_instant_;
|
|
|