Lines Matching refs:tab
93 // Configures the session service with one window with one tab and a single
95 // pinned state of the tab is updated. The session service is then recreated
96 // and the pinned state of the read back tab is returned.
120 SessionTab* tab = windows[0]->tabs[0];
121 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
123 return tab->pinned;
166 SessionTab* tab = windows[0]->tabs[0];
167 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
169 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
218 SessionTab* tab = windows[0]->tabs[0];
219 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
221 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
248 SessionTab* tab = windows[0]->tabs[0];
251 helper_.AssertTabEquals(window_id, tab_id, 0, 2, 3, *tab);
253 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
254 helper_.AssertNavigationEquals(nav2, tab->navigations[1]);
255 helper_.AssertNavigationEquals(nav1, tab->navigations[2]);
304 SessionTab* tab = rt1;
305 helper_.AssertTabEquals(window_id, tab1_id, 0, 0, 1, *tab);
306 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
308 tab = rt2;
309 helper_.AssertTabEquals(window2_id, tab2_id, 0, 0, 1, *tab);
310 helper_.AssertNavigationEquals(nav2, tab->navigations[0]);
338 SessionTab* tab = windows[0]->tabs[0];
339 helper_.AssertTabEquals(window_id, tab1_id, 0, 0, 1, *tab);
340 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
371 SessionTab* tab = windows[0]->tabs[0];
372 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
373 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
375 tab = windows[0]->tabs[1];
376 helper_.AssertTabEquals(window_id, tab2_id, 1, 0, 1, *tab);
377 helper_.AssertNavigationEquals(nav2, tab->navigations[0]);
414 SessionTab* tab = windows[0]->tabs[0];
415 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
416 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
453 SessionTab* tab = windows[0]->tabs[0];
454 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
455 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
495 SessionTab* tab = windows[normal_index]->tabs[0];
496 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
497 helper_.AssertNavigationEquals(nav1, tab->navigations[0]);
503 tab = windows[popup_index]->tabs[0];
504 helper_.AssertTabEquals(window2_id, tab2_id, 0, 0, 1, *tab);
505 helper_.AssertNavigationEquals(nav2, tab->navigations[0]);
538 SessionTab* tab = windows[0]->tabs[0];
539 ASSERT_EQ(1, tab->current_navigation_index);
540 EXPECT_EQ(3U, tab->navigations.size());
542 tab->navigations[0].virtual_url());
544 tab->navigations[1].virtual_url());
546 tab->navigations[2].virtual_url());
648 // Makes sure a tab closed by a user gesture is not restored.