Searched refs:IsTabDiscarded (Results 1 – 6 of 6) sorted by relevance
88 EXPECT_TRUE(browser()->tab_strip_model()->IsTabDiscarded(0)); in IN_PROC_BROWSER_TEST_F()89 EXPECT_FALSE(browser()->tab_strip_model()->IsTabDiscarded(1)); in IN_PROC_BROWSER_TEST_F()90 EXPECT_FALSE(browser()->tab_strip_model()->IsTabDiscarded(2)); in IN_PROC_BROWSER_TEST_F()96 EXPECT_TRUE(browser()->tab_strip_model()->IsTabDiscarded(0)); in IN_PROC_BROWSER_TEST_F()97 EXPECT_TRUE(browser()->tab_strip_model()->IsTabDiscarded(1)); in IN_PROC_BROWSER_TEST_F()98 EXPECT_FALSE(browser()->tab_strip_model()->IsTabDiscarded(2)); in IN_PROC_BROWSER_TEST_F()103 EXPECT_TRUE(browser()->tab_strip_model()->IsTabDiscarded(0)); in IN_PROC_BROWSER_TEST_F()104 EXPECT_TRUE(browser()->tab_strip_model()->IsTabDiscarded(1)); in IN_PROC_BROWSER_TEST_F()105 EXPECT_FALSE(browser()->tab_strip_model()->IsTabDiscarded(2)); in IN_PROC_BROWSER_TEST_F()110 EXPECT_FALSE(browser()->tab_strip_model()->IsTabDiscarded(1)); in IN_PROC_BROWSER_TEST_F()[all …]
298 if (model->IsTabDiscarded(idx) || (model->active_index() == idx)) in DiscardTabById()580 stats.is_discarded = model->IsTabDiscarded(i); in GetTabStatsOnUIThread()
2179 EXPECT_TRUE(tabstrip.IsTabDiscarded(0)); in TEST_F()2180 EXPECT_FALSE(tabstrip.IsTabDiscarded(1)); in TEST_F()2192 EXPECT_TRUE(tabstrip.IsTabDiscarded(0)); in TEST_F()2193 EXPECT_FALSE(tabstrip.IsTabDiscarded(1)); in TEST_F()2205 EXPECT_FALSE(tabstrip.IsTabDiscarded(0)); in TEST_F()2206 EXPECT_FALSE(tabstrip.IsTabDiscarded(1)); in TEST_F()2211 EXPECT_FALSE(tabstrip.IsTabDiscarded(0)); in TEST_F()2212 EXPECT_FALSE(tabstrip.IsTabDiscarded(1)); in TEST_F()
341 bool IsTabDiscarded(int index) const;
717 bool TabStripModel::IsTabDiscarded(int index) const { in IsTabDiscarded() function in TabStripModel
984 if (tab_strip_model_->IsTabDiscarded(index)) { in ActiveTabChanged()