diff options
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r-- | chrome/browser/external_tab_container.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index f66cab5..4529ac3 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -638,3 +638,13 @@ void ExternalTabContainer::Navigate(const GURL& url, const GURL& referrer) { tab_contents_->controller().LoadURL(url, referrer, PageTransition::START_PAGE); } + +bool ExternalTabContainer::OnGoToEntryOffset(int offset) { + if (load_requests_via_automation_) { + automation_->Send(new AutomationMsg_RequestGoToHistoryEntryOffset( + 0, tab_handle_, offset)); + return false; + } + + return true; +} |