Searched defs:navigations (Results 1 - 15 of 15) 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_org/chrome/browser/sessions/
H A Dsession_types.h36 // of navigations in the current sessions (chrome://newtab is not stored), we
41 static_cast<int>(navigations.size() - 1)));
46 // |navigations|. Note that the sync protocol buffer doesn't
52 // Uses SerializedNavigationEntry::ToSyncData to convert |navigations|. Note
72 // Identifies the index of the current navigation in navigations. For
73 // example, if this is 2 it means the current navigation is navigations[2].
76 // to SerializedNavigationEntry.index, not the index in navigations. When done
77 // creating though, this is set to the index in navigations.
79 // NOTE 2: this value can be larger than the size of |navigations|, due to
81 // checking must be performed before indexing into |navigations|
97 std::vector<sessions::SerializedNavigationEntry> navigations; member in struct:SessionTab
[all...]
H A Dtab_restore_service.h84 // The navigations.
85 std::vector<sessions::SerializedNavigationEntry> navigations; member in struct:TabRestoreService::Tab
87 // Index of the selected navigation in navigations.
106 // The user agent override used for the tab's navigations (if applicable).
H A Dpersistent_tab_restore_service.cc188 // Validates all entries in |entries|, deleting any with no navigations. This
424 const std::vector<sessions::SerializedNavigationEntry>& navigations = local
425 tab.navigations;
426 int max_index = static_cast<int>(navigations.size());
433 if (ShouldTrackEntry(navigations[i].virtual_url())) {
465 // Then write the navigations.
468 if (ShouldTrackEntry(navigations[i].virtual_url())) {
471 navigations[i]));
526 const std::vector<sessions::SerializedNavigationEntry>& navigations = local
527 tab.navigations;
[all...]
H A Dsession_service.cc917 std::vector<SerializedNavigationEntry>* navigations,
919 DCHECK(navigations);
921 i = navigations->begin(); i != navigations->end(); ++i) {
925 return navigations->end();
981 if (tab->window_id.id() && !tab->navigations.empty()) {
988 FindClosestNavigationWithIndex(&(tab->navigations),
990 if (j == tab->navigations.end()) {
992 static_cast<int>(tab->navigations.size() - 1);
995 static_cast<int>(j - tab->navigations
916 FindClosestNavigationWithIndex( std::vector<SerializedNavigationEntry>* navigations, int index) argument
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_tabrestore.cc41 const std::vector<SerializedNavigationEntry>& navigations,
47 GURL restore_url = navigations.at(selected_navigation).virtual_url();
72 navigations, browser->profile());
86 const std::vector<SerializedNavigationEntry>& navigations,
96 navigations,
135 const std::vector<SerializedNavigationEntry>& navigations,
142 navigations,
39 CreateRestoredTab( Browser* browser, const std::vector<SerializedNavigationEntry>& navigations, int selected_navigation, const std::string& extension_app_id, bool from_last_session, content::SessionStorageNamespace* session_storage_namespace, const std::string& user_agent_override) argument
84 AddRestoredTab( Browser* browser, const std::vector<SerializedNavigationEntry>& navigations, int tab_index, int selected_navigation, const std::string& extension_app_id, bool select, bool pin, bool from_last_session, content::SessionStorageNamespace* session_storage_namespace, const std::string& user_agent_override) argument
133 ReplaceRestoredTab( Browser* browser, const std::vector<SerializedNavigationEntry>& navigations, int selected_navigation, bool from_last_session, const std::string& extension_app_id, content::SessionStorageNamespace* session_storage_namespace, const std::string& user_agent_override) argument
H A Dbrowser_tab_restore_service_delegate.cc53 const std::vector<sessions::SerializedNavigationEntry>& navigations,
62 return chrome::AddRestoredTab(browser_, navigations, tab_index,
69 const std::vector<sessions::SerializedNavigationEntry>& navigations,
75 return chrome::ReplaceRestoredTab(browser_, navigations, selected_navigation,
52 AddRestoredTab( const std::vector<sessions::SerializedNavigationEntry>& navigations, int tab_index, int selected_navigation, const std::string& extension_app_id, bool select, bool pin, bool from_last_session, SessionStorageNamespace* storage_namespace, const std::string& user_agent_override) argument
68 ReplaceRestoredTab( const std::vector<sessions::SerializedNavigationEntry>& navigations, int selected_navigation, bool from_last_session, const std::string& extension_app_id, SessionStorageNamespace* session_storage_namespace, const std::string& user_agent_override) 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_org/components/sessions/
H A Dserialized_navigation_entry.cc475 const std::vector<SerializedNavigationEntry>& navigations,
480 it = navigations.begin(); it != navigations.end(); ++it) {
474 ToNavigationEntries( const std::vector<SerializedNavigationEntry>& navigations, content::BrowserContext* browser_context) argument
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura_browsertest.cc404 // Do a few navigations initiated by the page.
505 } navigations[] = { local
516 for (int i = 0; !navigations[i].url.is_empty(); ++i) {
518 NavigationController::LoadURLParams params(navigations[i].url);
519 params.transition_type = PageTransitionFromInt(navigations[i].transition);
527 << navigations[i].url.spec();
546 NavigationController::LoadURLParams params(navigations[0].url);
547 params.transition_type = PageTransitionFromInt(navigations[0].transition);
/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...]

Completed in 296 milliseconds