Chromium Code Reviews| Index: chrome/browser/instant/instant_loader.cc |
| =================================================================== |
| --- chrome/browser/instant/instant_loader.cc (revision 158566) |
| +++ chrome/browser/instant/instant_loader.cc (working copy) |
| @@ -59,9 +59,6 @@ |
| virtual void HandleGestureEnd() OVERRIDE; |
| virtual void DragEnded() OVERRIDE; |
| virtual bool OnGoToEntryOffset(int offset) OVERRIDE; |
| - virtual bool ShouldAddNavigationToHistory( |
| - const history::HistoryAddPageArgs& add_page_args, |
| - content::NavigationType navigation_type) OVERRIDE; |
| // content::WebContentsObserver: |
| virtual void DidFinishLoad( |
| @@ -169,13 +166,6 @@ |
| return false; |
| } |
| -bool InstantLoader::WebContentsDelegateImpl::ShouldAddNavigationToHistory( |
| - const history::HistoryAddPageArgs& add_page_args, |
| - content::NavigationType navigation_type) { |
| - loader_->last_navigation_ = add_page_args; |
|
sky
2012/09/25 15:38:48
How come you're removing this? This is the main pl
|
| - return false; |
| -} |
| - |
| void InstantLoader::WebContentsDelegateImpl::DidFinishLoad( |
| int64 frame_id, |
| const GURL& validated_url, |