Home
last modified time | relevance | path

Searched refs:initial_tab_count (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/ui/views/tabs/
Dtab_dragging_test.cc65 int initial_tab_count = 0; in TEST_F() local
66 ASSERT_TRUE(browser->GetTabCount(&initial_tab_count)); in TEST_F()
67 ASSERT_TRUE(1 == initial_tab_count); in TEST_F()
88 ASSERT_TRUE(browser->WaitForTabCountToBecome(initial_tab_count + 2)); in TEST_F()
163 int initial_tab_count = 0; in TEST_F() local
164 ASSERT_TRUE(browser->GetTabCount(&initial_tab_count)); in TEST_F()
165 ASSERT_TRUE(1 == initial_tab_count); in TEST_F()
186 ASSERT_TRUE(browser->WaitForTabCountToBecome(initial_tab_count + 2)); in TEST_F()
270 int initial_tab_count = 0; in TEST_F() local
271 ASSERT_TRUE(browser->GetTabCount(&initial_tab_count)); in TEST_F()
[all …]
/external/chromium/chrome/browser/
Dtab_restore_uitest.cc556 int initial_tab_count; in TEST_F() local
557 ASSERT_TRUE(browser_proxy->GetTabCount(&initial_tab_count)); in TEST_F()
559 ASSERT_TRUE(browser_proxy->WaitForTabCountToBecome(initial_tab_count + 1)); in TEST_F()
560 scoped_refptr<TabProxy> new_tab(browser_proxy->GetTab(initial_tab_count)); in TEST_F()
564 ASSERT_TRUE(browser_proxy->WaitForTabCountToBecome(initial_tab_count + 2)); in TEST_F()
565 new_tab = browser_proxy->GetTab(initial_tab_count + 1); in TEST_F()
586 EXPECT_EQ(initial_tab_count + 2, tab_count); in TEST_F()
589 browser_proxy->GetTab(initial_tab_count)); in TEST_F()
597 restored_tab_proxy = browser_proxy->GetTab(initial_tab_count + 1); in TEST_F()
/external/chromium/chrome/browser/sessions/
Dsession_restore.cc463 const int initial_tab_count = browser->tab_count(); in RestoreForeignSession() local
466 ShowBrowser(browser, initial_tab_count, selected_tab_index); in RestoreForeignSession()
469 NotifySessionServiceOfRestoredTabs(browser, initial_tab_count); in RestoreForeignSession()
602 const int initial_tab_count = browser->tab_count(); in ProcessSessionWindows() local
605 ShowBrowser(browser, initial_tab_count, selected_tab_index); in ProcessSessionWindows()
608 NotifySessionServiceOfRestoredTabs(browser, initial_tab_count); in ProcessSessionWindows()
692 int initial_tab_count, in ShowBrowser() argument
702 std::min(initial_tab_count + std::max(0, selected_session_index), in ShowBrowser()
/external/chromium/chrome/browser/ui/
Dbrowser_navigator_browsertest.cc742 int initial_tab_count = browser()->tab_count(); in IN_PROC_BROWSER_TEST_F() local
746 EXPECT_EQ(initial_tab_count + 1, browser()->tab_count()); in IN_PROC_BROWSER_TEST_F()
747 EXPECT_EQ(initial_tab_count, browser()->active_index()); in IN_PROC_BROWSER_TEST_F()
762 EXPECT_EQ(initial_tab_count + 1, browser()->tab_count()); in IN_PROC_BROWSER_TEST_F()
763 EXPECT_EQ(initial_tab_count, browser()->active_index()); in IN_PROC_BROWSER_TEST_F()