Home
last modified time | relevance | path

Searched refs:GetCurrentEntryIndex (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc308 contents->GetController().GetCurrentEntryIndex() - 1; in GetHistoryItemCount()
310 items = contents->GetController().GetCurrentEntryIndex(); in GetHistoryItemCount()
325 int current_entry = contents->GetController().GetCurrentEntryIndex(); in GetChapterStopCount()
403 int entry = contents->GetController().GetCurrentEntryIndex() + offset; in FindChapterStop()
438 index += contents->GetController().GetCurrentEntryIndex() + 1; in MenuIndexToNavEntryIndex()
441 index = contents->GetController().GetCurrentEntryIndex() - (index + 1); in MenuIndexToNavEntryIndex()
/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc288 contents->controller().GetCurrentEntryIndex() - 1; in GetHistoryItemCount()
290 items = contents->controller().GetCurrentEntryIndex(); in GetHistoryItemCount()
305 int current_entry = contents->controller().GetCurrentEntryIndex(); in GetChapterStopCount()
381 int entry = contents->controller().GetCurrentEntryIndex() + offset; in FindChapterStop()
415 index += contents->controller().GetCurrentEntryIndex() + 1; in MenuIndexToNavEntryIndex()
418 index = contents->controller().GetCurrentEntryIndex() - (index + 1); in MenuIndexToNavEntryIndex()
/external/chromium_org/chrome/browser/sync/glue/
Dsession_model_associator_unittest.cc182 MOCK_CONST_METHOD0(GetCurrentEntryIndex, int());
236 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillRepeatedly(Return(0)); in TEST_F()
248 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillRepeatedly(Return(0)); in TEST_F()
259 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillRepeatedly(Return(0)); in TEST_F()
272 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillRepeatedly(Return(0)); in TEST_F()
293 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillOnce(Return(0)); in TEST_F()
306 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillOnce(Return(0)); in TEST_F()
340 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillRepeatedly(Return(2)); in TEST_F()
405 EXPECT_CALL(tab_mock, GetCurrentEntryIndex()).WillRepeatedly(Return(0)); in TEST_F()
Dsynced_tab_delegate_android.cc51 int SyncedTabDelegateAndroid::GetCurrentEntryIndex() const { in GetCurrentEntryIndex() function in browser_sync::SyncedTabDelegateAndroid
53 ->GetCurrentEntryIndex(); in GetCurrentEntryIndex()
Dsynced_tab_delegate.h41 virtual int GetCurrentEntryIndex() const = 0;
Dsynced_tab_delegate_android.h33 virtual int GetCurrentEntryIndex() const OVERRIDE;
Dsession_model_associator.cc395 const int current_index = tab_delegate.GetCurrentEntryIndex(); in GetCurrentVirtualURL()
407 const int current_index = tab_delegate.GetCurrentEntryIndex(); in GetCurrentFaviconURL()
497 session_tab->current_navigation_index = tab_delegate.GetCurrentEntryIndex(); in SetSessionTabFromDelegate()
502 const int current_index = tab_delegate.GetCurrentEntryIndex(); in SetSessionTabFromDelegate()
/external/chromium_org/chrome/browser/ui/sync/
Dtab_contents_synced_tab_delegate.cc53 int TabContentsSyncedTabDelegate::GetCurrentEntryIndex() const { in GetCurrentEntryIndex() function in TabContentsSyncedTabDelegate
54 return web_contents_->GetController().GetCurrentEntryIndex(); in GetCurrentEntryIndex()
Dtab_contents_synced_tab_delegate.h29 virtual int GetCurrentEntryIndex() const OVERRIDE;
/external/chromium_org/chrome/browser/search/
Dsearch_terms_tracker.cc91 for (int i = controller->GetCurrentEntryIndex(); i >= 0; --i) { in FindMostRecentSearch()
98 if (i != controller->GetCurrentEntryIndex()) { in FindMostRecentSearch()
/external/chromium_org/content/browser/
Dsite_per_process_browsertest.cc603 EXPECT_EQ(0, controller.GetCurrentEntryIndex()); in IN_PROC_BROWSER_TEST_F()
618 EXPECT_EQ(1, controller.GetCurrentEntryIndex()); in IN_PROC_BROWSER_TEST_F()
651 EXPECT_EQ(0, controller.GetCurrentEntryIndex()); in IN_PROC_BROWSER_TEST_F()
662 EXPECT_EQ(1, controller.GetCurrentEntryIndex()); in IN_PROC_BROWSER_TEST_F()
702 EXPECT_EQ(0, controller.GetCurrentEntryIndex()); in IN_PROC_BROWSER_TEST_F()
719 EXPECT_EQ(1, controller.GetCurrentEntryIndex()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/
Dbrowser_commands_unittest.cc92 EXPECT_EQ(2, controller.GetCurrentEntryIndex()); in TEST_F()
130 EXPECT_EQ(0, controller.GetCurrentEntryIndex()); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/options/
Doptions_browsertest.cc44 const int current = controller.GetCurrentEntryIndex(); in ReportHistory()
/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_impl.cc292 current_index = GetCurrentEntryIndex(); in ReloadInternal()
456 int NavigationControllerImpl::GetCurrentEntryIndex() const { in GetCurrentEntryIndex() function in content::NavigationControllerImpl
503 return GetCurrentEntryIndex() + offset; in GetIndexForOffset()
517 return entries_.size() > 1 && GetCurrentEntryIndex() > 0; in CanGoBack()
521 int index = GetCurrentEntryIndex(); in CanGoForward()
537 int current_index = GetCurrentEntryIndex(); in GoBack()
558 int current_index = GetCurrentEntryIndex(); in GoForward()
Dnavigation_controller_impl_unittest.cc1928 EXPECT_EQ(2, controller.GetCurrentEntryIndex()); in TEST_F()
1938 EXPECT_EQ(1, controller.GetCurrentEntryIndex()); in TEST_F()
1950 EXPECT_EQ(0, controller.GetCurrentEntryIndex()); in TEST_F()
2042 EXPECT_EQ(0, controller.GetCurrentEntryIndex()); in TEST_F()
2055 EXPECT_EQ(1, controller.GetCurrentEntryIndex()); in TEST_F()
2080 EXPECT_EQ(2, controller.GetCurrentEntryIndex()); in TEST_F()
3101 ASSERT_EQ(0, other_controller.GetCurrentEntryIndex()); in TEST_F()
3169 ASSERT_EQ(2, other_controller.GetCurrentEntryIndex()); in TEST_F()
3216 ASSERT_EQ(1, other_controller.GetCurrentEntryIndex()); in TEST_F()
3254 ASSERT_EQ(2, other_controller.GetCurrentEntryIndex()); in TEST_F()
[all …]
Dnavigation_entry_screenshot_manager.cc218 const int current = owner_->GetCurrentEntryIndex(); in PurgeScreenshotsIfNecessary()
Dnavigation_controller_impl.h47 virtual int GetCurrentEntryIndex() const OVERRIDE; in NON_EXPORTED_BASE()
/external/chromium/chrome/browser/
Dbrowser_commands_unittest.cc75 ASSERT_EQ(2, controller.GetCurrentEntryIndex()); in TEST_F()
/external/chromium_org/content/public/browser/
Dnavigation_controller.h244 virtual int GetCurrentEntryIndex() const = 0;
/external/chromium_org/chrome/browser/sync/sessions2/
Dsessions_sync_manager.cc750 const int current_index = tab_delegate.GetCurrentEntryIndex(); in GetCurrentVirtualURL()
762 const int current_index = tab_delegate.GetCurrentEntryIndex(); in GetCurrentFaviconURL()
842 session_tab->current_navigation_index = tab_delegate.GetCurrentEntryIndex(); in SetSessionTabFromDelegate()
847 const int current_index = tab_delegate.GetCurrentEntryIndex(); in SetSessionTabFromDelegate()
/external/chromium_org/android_webview/native/
Dstate_serializer.cc52 const int selected_entry = controller.GetCurrentEntryIndex(); in WriteToPickle()
/external/chromium_org/content/shell/browser/
Dshell.cc213 int current_index = web_contents_->GetController().GetCurrentEntryIndex(); in UpdateNavigationControls()
/external/chromium_org/chrome/browser/ui/webui/memory_internals/
Dmemory_internals_proxy.cc338 tab->SetInteger("index", controller.GetCurrentEntryIndex()); in ConvertTabsInformation()
/external/chromium_org/chrome/browser/safe_browsing/
Dbrowser_feature_extractor.cc211 int index = controller.GetCurrentEntryIndex(); in ExtractFeatures()
/external/chromium_org/chrome/browser/sessions/
Dtab_restore_service_helper.cc418 tab->current_navigation_index = controller->GetCurrentEntryIndex(); in PopulateTab()

12