| Index: chrome/browser/instant/instant_loader.cc
|
| diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
|
| index 1c7a87473c34ed4081ba30c817572c9852219314..149b48bb175360be7636cf45d94446fe94040757 100644
|
| --- a/chrome/browser/instant/instant_loader.cc
|
| +++ b/chrome/browser/instant/instant_loader.cc
|
| @@ -234,6 +234,12 @@ class InstantLoader::TabContentsDelegateImpl
|
| virtual void OnStartDownload(DownloadItem* download,
|
| TabContentsWrapper* tab) OVERRIDE;
|
|
|
| + // Navigation interface to supoprt disposition.
|
| + virtual void GoBack(WindowOpenDisposition disposition) OVERRIDE;
|
| + virtual void GoForward(WindowOpenDisposition disposition) OVERRIDE;
|
| + virtual bool NavigateToIndexWithDisposition(
|
| + int index, WindowOpenDisposition disp) OVERRIDE;
|
| +
|
| private:
|
| typedef std::vector<scoped_refptr<history::HistoryAddPageArgs> >
|
| AddPageVector;
|
| @@ -591,6 +597,23 @@ void InstantLoader::TabContentsDelegateImpl::OnStartDownload(
|
| // Downloads are disabled.
|
| }
|
|
|
| +void InstantLoader::TabContentsDelegateImpl::GoBack(
|
| + WindowOpenDisposition disposition) {
|
| + // Navigations are disabled.
|
| +}
|
| +
|
| +void InstantLoader::TabContentsDelegateImpl::GoForward(
|
| + WindowOpenDisposition disposition) {
|
| + // Navigations are disabled.
|
| +}
|
| +
|
| +bool InstantLoader::TabContentsDelegateImpl::NavigateToIndexWithDisposition(
|
| + int index, WindowOpenDisposition disp) {
|
| + // Navigations are disabled.
|
| + return false;
|
| +}
|
| +
|
| +
|
| void InstantLoader::TabContentsDelegateImpl::OnSetSuggestions(
|
| int32 page_id,
|
| const std::vector<std::string>& suggestions,
|
|
|