/external/chromium_org/chrome/browser/sessions/ |
session_types.cc | 18 current_navigation_index(-1), 30 current_navigation_index = sync_data.current_navigation_index(); 48 sync_data.set_current_navigation_index(current_navigation_index);
|
tab_restore_service.cc | 34 current_navigation_index(-1),
|
session_types.h | 35 // Since the current_navigation_index can be larger than the index for number 40 return std::max(0, std::min(current_navigation_index, 82 int current_navigation_index; member in struct:SessionTab
|
session_types_unittest.cc | 115 tab.current_navigation_index = 1000; 127 EXPECT_EQ(3, tab.current_navigation_index); 150 tab.current_navigation_index = 3; 166 EXPECT_EQ(3, sync_data.current_navigation_index());
|
persistent_tab_restore_service_browsertest.cc | 224 EXPECT_EQ(2, tab->current_navigation_index); 247 EXPECT_EQ(1, tab->current_navigation_index); 281 EXPECT_EQ(2, tab->current_navigation_index); 320 EXPECT_EQ(2, tab->current_navigation_index); 425 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 484 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 494 EXPECT_EQ(2, tab->current_navigation_index); 527 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 536 EXPECT_EQ(2, tab->current_navigation_index); 572 EXPECT_EQ(0, window->tabs[0].current_navigation_index); [all...] |
tab_restore_service_helper.cc | 39 GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url(); 249 tab.current_navigation_index, 418 tab->current_navigation_index = controller->GetCurrentEntryIndex(); 419 if (tab->current_navigation_index == -1 && entry_count > 0) 420 tab->current_navigation_index = 0; 457 tab.current_navigation_index, 492 tab.current_navigation_index, 513 tab->current_navigation_index = 514 std::max(0, std::min(tab->current_navigation_index,
|
tab_restore_service.h | 88 int current_navigation_index; member in struct:TabRestoreService::Tab
|
session_service_test_helper.cc | 83 EXPECT_EQ(nav_index, session_tab.current_navigation_index);
|
persistent_tab_restore_service.cc | 174 // |tab.current_navigation_index| unless the entry at 175 // |tab.current_navigation_index| shouldn't be persisted. Returns -1 if no 528 int selected_index = tab.current_navigation_index; 542 selected_index = tab.current_navigation_index + 1; 670 current_tab->current_navigation_index = payload.index; 799 tab.current_navigation_index = 800 session_window->tabs[i]->current_navigation_index; [all...] |
session_service.cc | [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
recently_closed_tabs_handler.cc | 30 tab.navigations.at(tab.current_navigation_index); 90 session_tab.current_navigation_index = tab_entry->current_navigation_index;
|
/external/chromium/chrome/browser/ui/webui/ |
value_helper.cc | 17 tab.navigations.at(tab.current_navigation_index);
|
foreign_session_handler.cc | 201 int selected_index = tab.current_navigation_index;
|
/external/chromium/chrome/browser/sessions/ |
tab_restore_service_browsertest.cc | 141 EXPECT_EQ(2, tab->current_navigation_index); 162 EXPECT_EQ(1, tab->current_navigation_index); 196 EXPECT_EQ(2, tab->current_navigation_index); 235 EXPECT_EQ(2, tab->current_navigation_index); 304 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 359 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 369 EXPECT_EQ(2, tab->current_navigation_index); 401 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 410 EXPECT_EQ(2, tab->current_navigation_index); 445 EXPECT_EQ(0, window->tabs[0].current_navigation_index); [all...] |
tab_restore_service.cc | 156 GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url(); 170 current_navigation_index(-1), 354 tab.current_navigation_index, 492 tab->current_navigation_index = controller->GetCurrentEntryIndex(); 493 if (tab->current_navigation_index == -1 && entry_count > 0) 494 tab->current_navigation_index = 0; 689 int selected_index = tab.current_navigation_index; 703 selected_index = tab.current_navigation_index + 1; 831 current_tab->current_navigation_index = payload.index; 897 tab.current_navigation_index, [all...] |
session_types.cc | 91 current_navigation_index(-1),
|
session_types.h | 129 int current_navigation_index; member in struct:SessionTab
|
session_service_test_helper.cc | 72 EXPECT_EQ(nav_index, session_tab.current_navigation_index);
|
tab_restore_service.h | 84 int current_navigation_index; member in struct:TabRestoreService::Tab 244 // as |tab.current_navigation_index| unless the entry at 245 // |tab.current_navigation_index| shouldn't be persisted. Returns -1 if 271 // than one navigation |tab->current_navigation_index| is constrained based
|
session_service.cc | 879 tab->current_navigation_index); 881 tab->current_navigation_index = 884 tab->current_navigation_index = [all...] |
/external/chromium/chrome/browser/sync/glue/ |
session_model_associator.cc | 611 tab->current_navigation_index = specifics.current_navigation_index(); 830 int selected_index = tab.current_navigation_index; [all...] |
session_model_associator_unittest.cc | 97 ASSERT_EQ(3, tab.current_navigation_index);
|
/external/chromium_org/chrome/browser/android/ |
foreign_session_helper.cc | 58 tab.navigations.at(tab.current_navigation_index);
|
/external/chromium_org/chrome/browser/extensions/api/session_restore/ |
session_restore_api.cc | 54 tab.navigations[tab.current_navigation_index];
|
/external/chromium_org/chrome/browser/sync/glue/ |
session_model_associator_unittest.cc | 351 session_tab.current_navigation_index = 1; 365 EXPECT_EQ(2, session_tab.current_navigation_index); 422 session_tab.current_navigation_index = 1; 436 EXPECT_EQ(0, session_tab.current_navigation_index);
|