Lines Matching defs:navigations
156 GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url();
228 if (local_tab->navigations.empty())
251 if (window->tabs[entry_index].navigations.empty()) {
353 delegate->AddRestoredTab(tab.navigations, delegate->GetTabCount(),
485 tab->navigations.resize(static_cast<int>(entry_count));
489 tab->navigations[i].SetFromNavigationEntry(*entry);
595 const std::vector<TabNavigation>& navigations = tab.navigations;
596 int max_index = static_cast<int>(navigations.size());
603 if (ShouldTrackEntry(navigations[i])) {
629 // Then write the navigations.
632 if (ShouldTrackEntry(navigations[i])) {
637 navigations[i].ToNavigationEntry(wrote_count, profile()));
688 const std::vector<TabNavigation>& navigations = tab.navigations;
690 int max_index = static_cast<int>(navigations.size());
695 !ShouldTrackEntry(navigations[selected_index])) {
705 !ShouldTrackEntry(navigations[selected_index])) {
734 // If non-null we're processing the navigations of this tab.
840 current_tab->navigations.resize(current_tab->navigations.size() + 1);
843 command, ¤t_tab->navigations.back(), &tab_id)) {
882 // entries with no navigations.
896 delegate->ReplaceRestoredTab(tab.navigations,
919 delegate->AddRestoredTab(tab.navigations,
932 if (tab->navigations.empty())
937 static_cast<int>(tab->navigations.size()) - 1));
1023 if (!session_window->tabs[i]->navigations.empty()) {
1027 tab.navigations.swap(session_window->tabs[i]->navigations);