Searched refs:first_tab (Results 1 – 11 of 11) sorted by relevance
134 WebContents* first_tab = in SetUpOnMainThread() local136 ASSERT_TRUE(first_tab); in SetUpOnMainThread()143 cloned_tab_observer_.reset(new PrintPreviewDialogClonedObserver(first_tab)); in SetUpOnMainThread()148 ASSERT_NE(first_tab, initiator_); in SetUpOnMainThread()
142 TabContents* first_tab = browser()->GetTabContentsAt(0); in IN_PROC_BROWSER_TEST_F() local143 ASSERT_TRUE(first_tab); in IN_PROC_BROWSER_TEST_F()144 browser()->CloseTabContents(first_tab); in IN_PROC_BROWSER_TEST_F()
148 Tab* first_tab = tab_strip->tab_at(0); in OnScrollEvent() local149 int first_tab_center = first_tab->bounds().CenterPoint().x(); in OnScrollEvent()
831 bool first_tab = true; in OpenTabsInBrowser() local844 int add_types = first_tab ? TabStripModel::ADD_ACTIVE : in OpenTabsInBrowser()852 params.disposition = first_tab ? NEW_FOREGROUND_TAB : NEW_BACKGROUND_TAB; in OpenTabsInBrowser()865 first_tab = false; in OpenTabsInBrowser()
997 bool first_tab = true; in OpenTabsInBrowser() local1006 int add_types = first_tab ? TabStripModel::ADD_ACTIVE : in OpenTabsInBrowser()1015 params.disposition = first_tab ? NEW_FOREGROUND_TAB : NEW_BACKGROUND_TAB; in OpenTabsInBrowser()1021 first_tab = false; in OpenTabsInBrowser()
705 Tab* first_tab = GetTabAtTabDataIndex(mini_tab_count); in ResizeLayoutTabs() local709 int w = Round(first_tab->IsActive() ? selected : selected); in ResizeLayoutTabs()713 if (abs(first_tab->width() - w) > 1) in ResizeLayoutTabs()
564 views::View* first_tab = source_tabstrip_->base_tab_at_tab_index(0); in InitWindowCreatePoint() local565 views::View::ConvertPointToWidget(first_tab, &first_source_tab_point_); in InitWindowCreatePoint()
1068 WebContents* first_tab = tab_strip->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() local1093 EXPECT_EQ(tab_strip->GetActiveWebContents(), first_tab); in IN_PROC_BROWSER_TEST_F()1103 WebContents* first_tab = tab_strip->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() local1131 EXPECT_EQ(tab_strip->GetActiveWebContents(), first_tab); in IN_PROC_BROWSER_TEST_F()1148 WebContents* first_tab = tab_strip->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() local1158 EXPECT_NE(first_tab, second_tab); in IN_PROC_BROWSER_TEST_F()
1486 TabGtk* first_tab = GetTabAt(mini_tab_count); in ResizeLayoutTabs() local1489 int w = Round(first_tab->IsSelected() ? selected : unselected); in ResizeLayoutTabs()1493 if (abs(first_tab->width() - w) > 1) { in ResizeLayoutTabs()
1600 TabGtk* first_tab = GetTabAt(mini_tab_count); in ResizeLayoutTabs() local1603 int w = Round(first_tab->IsActive() ? selected : unselected); in ResizeLayoutTabs()1607 if (abs(first_tab->width() - w) > 1) in ResizeLayoutTabs()
767 views::View* first_tab = source_tabstrip_->tab_at(0); in InitWindowCreatePoint() local768 views::View::ConvertPointToWidget(first_tab, &first_source_tab_point_); in InitWindowCreatePoint()