HomeSort by relevance Sort by last modified time
    Searched refs:navigations (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/chromium_org/chrome/browser/sync/glue/
synced_session.cc 25 if (tab.navigations.empty())
28 for (size_t i = 0; i < tab.navigations.size(); ++i) {
29 const GURL& virtual_url = tab.navigations.at(i).virtual_url();
session_sync_test_helper.cc 78 ASSERT_EQ(1U, tab->navigations.size());
83 ASSERT_EQ(1U, tab->navigations.size());
84 ASSERT_EQ(tab->navigations[0].virtual_url(), GURL(kVirtualUrl));
85 ASSERT_EQ(tab->navigations[0].referrer().url, GURL(kReferrer));
86 ASSERT_EQ(tab->navigations[0].title(),
88 ASSERT_EQ(tab->navigations[0].transition_type(),
session_model_associator_unittest.cc 102 win.tabs[0]->navigations.push_back(nav);
112 tab.navigations.push_back(nav);
118 tab.navigations.push_back(nav2);
130 tab.navigations.push_back(nav);
230 // Test that we exclude tabs with only chrome:// and file:// schemed navigations
360 session_tab.navigations.push_back(
374 ASSERT_EQ(3u, session_tab.navigations.size());
376 session_tab.navigations[0].virtual_url());
378 session_tab.navigations[1].virtual_url());
380 session_tab.navigations[2].virtual_url())
    [all...]
  /external/chromium_org/chrome/browser/ui/
browser_tabrestore.h 28 // SerializedNavigationEntry in |navigations| to select. If |extension_app_id|
32 // |navigations| are from the previous session. |user_agent_override| contains
33 // the string being used as the user agent for all of the tab's navigations when
38 const std::vector<sessions::SerializedNavigationEntry>& navigations,
53 const std::vector<sessions::SerializedNavigationEntry>& navigations,
browser_tabrestore.cc 41 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,
browser_tab_restore_service_delegate.cc 53 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,
browser_tab_restore_service_delegate.h 34 const std::vector<sessions::SerializedNavigationEntry>& navigations,
44 const std::vector<sessions::SerializedNavigationEntry>& navigations,
  /external/chromium_org/chrome/browser/sessions/
session_types.cc 35 navigations.clear();
37 navigations.push_back(
52 it = navigations.begin(); it != navigations.end(); ++it) {
session_types_unittest.cc 70 tab.navigations.resize(100);
82 ASSERT_EQ(5u, tab.navigations.size());
84 EXPECT_EQ(i, tab.navigations[i].index());
85 EXPECT_EQ(GURL("referrer"), tab.navigations[i].referrer().url);
86 EXPECT_EQ(ASCIIToUTF16("title"),tab.navigations[i].title());
88 tab.navigations[i].transition_type());
90 tab.navigations[i].virtual_url());
106 tab.navigations.push_back(
121 EXPECT_EQ(tab.navigations[i].virtual_url().spec(),
123 EXPECT_EQ(UTF16ToUTF8(tab.navigations[i].title())
    [all...]
persistent_tab_restore_service_unittest.cc 216 ASSERT_EQ(3U, tab->navigations.size());
217 EXPECT_TRUE(url1_ == tab->navigations[0].virtual_url());
218 EXPECT_TRUE(url2_ == tab->navigations[1].virtual_url());
219 EXPECT_TRUE(url3_ == tab->navigations[2].virtual_url());
239 ASSERT_EQ(3U, tab->navigations.size());
240 EXPECT_EQ(url1_, tab->navigations[0].virtual_url());
241 EXPECT_EQ(url2_, tab->navigations[1].virtual_url());
242 EXPECT_EQ(url3_, tab->navigations[2].virtual_url());
250 // navigations.
274 ASSERT_EQ(3U, tab->navigations.size())
    [all...]
session_restore_android.cc 26 DCHECK(session_tab.navigations.size() > 0);
33 session_tab.navigations, profile);
session_types.h 36 // 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...]
tab_restore_service_delegate.h 52 const std::vector<sessions::SerializedNavigationEntry>& navigations,
62 const std::vector<sessions::SerializedNavigationEntry>& navigations,
session_service_unittest.cc 202 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
254 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
287 ASSERT_EQ(3u, tab->navigations.size());
288 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
289 helper_.AssertNavigationEquals(nav2, tab->navigations[1]);
290 helper_.AssertNavigationEquals(nav1, tab->navigations[2]);
330 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
334 helper_.AssertNavigationEquals(nav2, tab->navigations[0]);
367 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
400 helper_.AssertNavigationEquals(nav1, tab->navigations[0])
    [all...]
tab_restore_service_helper.cc 39 GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url();
111 if (local_tab->navigations.empty())
137 if (window->tabs[entry_index].navigations.empty()) {
247 tab.navigations,
410 tab->navigations.resize(static_cast<int>(entry_count));
414 tab->navigations[i] =
456 tab.navigations,
490 web_contents = delegate->AddRestoredTab(tab.navigations,
510 if (tab->navigations.empty())
515 static_cast<int>(tab->navigations.size()) - 1))
    [all...]
  /external/chromium/chrome/browser/sessions/
tab_restore_service_browsertest.cc 137 ASSERT_EQ(3U, tab->navigations.size());
138 EXPECT_TRUE(url1_ == tab->navigations[0].virtual_url());
139 EXPECT_TRUE(url2_ == tab->navigations[1].virtual_url());
140 EXPECT_TRUE(url3_ == tab->navigations[2].virtual_url());
158 ASSERT_EQ(3U, tab->navigations.size());
159 EXPECT_EQ(url1_, tab->navigations[0].virtual_url());
160 EXPECT_EQ(url2_, tab->navigations[1].virtual_url());
161 EXPECT_EQ(url3_, tab->navigations[2].virtual_url());
168 // navigations.
192 ASSERT_EQ(3U, tab->navigations.size())
    [all...]
tab_restore_service_delegate.h 40 const std::vector<TabNavigation>& navigations,
49 const std::vector<TabNavigation>& navigations,
tab_restore_service.cc 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; local
596 int max_index = static_cast<int>(navigations.size());
603 if (ShouldTrackEntry(navigations[i]))
688 const std::vector<TabNavigation>& navigations = tab.navigations; local
    [all...]
session_service_unittest.cc 169 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
221 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
253 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
254 helper_.AssertNavigationEquals(nav2, tab->navigations[1]);
255 helper_.AssertNavigationEquals(nav1, tab->navigations[2]);
306 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
310 helper_.AssertNavigationEquals(nav2, tab->navigations[0]);
340 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
373 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
377 helper_.AssertNavigationEquals(nav2, tab->navigations[0])
    [all...]
  /external/chromium/chrome/browser/ui/
browser_tab_restore_service_delegate.h 37 const std::vector<TabNavigation>& navigations,
46 const std::vector<TabNavigation>& navigations,
browser_tab_restore_service_delegate.cc 41 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,
  /external/chromium_org/chrome/browser/sync/test/integration/
single_client_sessions_sync_test.cc 82 it3 = (*it2)->navigations.begin();
83 it3 != (*it2)->navigations.end(); ++it3) {
116 it3 = (*it2)->navigations.begin();
117 it3 != (*it2)->navigations.end(); ++it3) {
sessions_helper.cc 82 if ((*tab_it)->navigations.size() == 0) {
83 DVLOG(1) << "Empty navigations vector";
87 nav = (*tab_it)->navigations[nav_index];
163 new_tab->navigations.resize(tab.navigations.size());
164 std::copy(tab.navigations.begin(), tab.navigations.end(),
165 new_tab->navigations.begin());
284 for (size_t n = 0; n < client0_tab->navigations.size(); ++n) {
285 if (!NavigationEquals(client0_tab->navigations[n]
    [all...]
  /external/chromium/chrome/browser/sync/glue/
session_model_associator_unittest.cc 31 win.tabs[0]->navigations.push_back(nav);
42 tab.navigations.push_back(nav);
49 tab.navigations.push_back(nav2);
100 ASSERT_EQ(12, tab.navigations[0].index());
101 ASSERT_EQ(GURL("referrer"), tab.navigations[0].referrer());
102 ASSERT_EQ(string16(ASCIIToUTF16("title")), tab.navigations[0].title());
103 ASSERT_EQ(PageTransition::TYPED, tab.navigations[0].transition());
104 ASSERT_EQ(GURL("http://foo/1"), tab.navigations[0].virtual_url());
  /external/chromium/chrome/browser/ui/webui/
value_helper.cc 13 if (tab.navigations.empty())
17 tab.navigations.at(tab.current_navigation_index);

Completed in 3311 milliseconds

1 2 3