Searched defs:navigations (Results 1 - 8 of 8) sorted by relevance

/external/chromium/chrome/browser/ui/
H A Dbrowser_tab_restore_service_delegate.cc41 const std::vector<TabNavigation>& navigations,
49 return browser_->AddRestoredTab(navigations, tab_index, selected_navigation,
55 const std::vector<TabNavigation>& navigations,
60 browser_->ReplaceRestoredTab(navigations, selected_navigation,
40 AddRestoredTab( const std::vector<TabNavigation>& navigations, int tab_index, int selected_navigation, const std::string& extension_app_id, bool select, bool pin, bool from_last_session, SessionStorageNamespace* storage_namespace) argument
54 ReplaceRestoredTab( const std::vector<TabNavigation>& navigations, int selected_navigation, bool from_last_session, const std::string& extension_app_id, SessionStorageNamespace* session_storage_namespace) argument
H A Dbrowser.cc1055 const std::vector<TabNavigation>& navigations,
1069 new_tab->controller().RestoreFromState(navigations, selected_navigation,
1101 const std::vector<TabNavigation>& navigations,
1112 replacement->controller().RestoreFromState(navigations, selected_navigation,
1054 AddRestoredTab( const std::vector<TabNavigation>& navigations, int tab_index, int selected_navigation, const std::string& extension_app_id, bool select, bool pin, bool from_last_session, SessionStorageNamespace* session_storage_namespace) argument
1100 ReplaceRestoredTab( const std::vector<TabNavigation>& navigations, int selected_navigation, bool from_last_session, const std::string& extension_app_id, SessionStorageNamespace* session_storage_namespace) argument
/external/chromium/chrome/browser/sessions/
H A Dsession_types.h119 // Identifies the index of the current navigation in navigations. For
120 // example, if this is 2 it means the current navigation is navigations[2].
123 // corresponds to TabNavigation.index, not the index in navigations. When done
124 // creating though, this is set to the index in navigations.
126 // NOTE 2: this value can be larger than the size of |navigations|, due to
128 // checking must be performed before indexing into |navigations|.
140 std::vector<TabNavigation> navigations; member in struct:SessionTab
H A Dtab_restore_service.h80 // The navigations.
81 std::vector<TabNavigation> navigations; member in struct:TabRestoreService::Tab
83 // Index of the selected navigation in navigations.
196 // Populates the tab's navigations from the NavigationController, and its
272 // on the number of navigations.
275 // Validates all entries in |entries|, deleting any with no navigations.
H A Dtab_restore_service.cc156 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; local
596 int max_index = static_cast<int>(navigations.size());
603 if (ShouldTrackEntry(navigations[
688 const std::vector<TabNavigation>& navigations = tab.navigations; local
[all...]
H A Dsession_service.cc812 std::vector<TabNavigation>* navigations,
814 DCHECK(navigations);
815 for (std::vector<TabNavigation>::iterator i = navigations->begin();
816 i != navigations->end(); ++i) {
820 return navigations->end();
871 if (tab->window_id.id() && !tab->navigations.empty()) {
878 FindClosestNavigationWithIndex(&(tab->navigations),
880 if (j == tab->navigations.end()) {
882 static_cast<int>(tab->navigations.size() - 1);
885 static_cast<int>(j - tab->navigations
811 FindClosestNavigationWithIndex( std::vector<TabNavigation>* navigations, int index) argument
[all...]
/external/chromium/chrome/browser/sync/glue/
H A Dsession_model_associator.cc33 // The maximum number of navigations in each direction we care to sync.
617 tab->navigations.clear(); // In case we are reusing a previous SessionTab.
619 AppendSessionTabNavigation(specifics.navigation(i), &tab->navigations);
626 std::vector<TabNavigation>* navigations) {
706 navigations->insert(navigations->end(), tab_navigation);
828 if (tab.navigations.empty())
834 static_cast<int>(tab.navigations.size() - 1)));
836 tab.navigations.size() == 1 &&
837 tab.navigations
624 AppendSessionTabNavigation( const sync_pb::TabNavigation& specifics, std::vector<TabNavigation>* navigations) argument
[all...]
/external/webkit/Source/WebKit/qt/tests/qwebpage/
H A Dtst_qwebpage.cpp357 QList<Navigation> navigations; member in class:TestPage
365 navigations.append(n);
394 QCOMPARE(page->navigations.count(), 2);
396 TestPage::Navigation n = page->navigations.at(1);
1395 QTRY_COMPARE(page.navigations.count(), 1);
1399 QTRY_COMPARE(page.navigations.count(), 2);
1406 QTRY_COMPARE(page.navigations.count(), 3);
1407 QCOMPARE(page.navigations.at(0).request.attribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferNetwork).toInt(),
1409 QCOMPARE(page.navigations.at(1).request.attribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferNetwork).toInt(),
1411 QCOMPARE(page.navigations
[all...]

Completed in 785 milliseconds