/external/chromium_org/chrome/browser/sessions/ |
D | better_session_restore_browsertest.cc | 331 Browser* new_browser = window_observer.WaitForSingleNewBrowser(); in QuitBrowserAndRestore() local 334 return new_browser; in QuitBrowserAndRestore() 384 Browser* new_browser = BetterSessionRestoreTest::QuitBrowserAndRestore( in QuitBrowserAndRestore() local 387 return new_browser; in QuitBrowserAndRestore() 470 Browser* new_browser = QuitBrowserAndRestore(browser(), false); in IN_PROC_BROWSER_TEST_F() local 473 CheckReloadedPageRestored(new_browser); in IN_PROC_BROWSER_TEST_F() 488 Browser* new_browser = QuitBrowserAndRestore(browser(), false); in IN_PROC_BROWSER_TEST_F() local 491 CheckReloadedPageRestored(new_browser); in IN_PROC_BROWSER_TEST_F() 497 Browser* new_browser = QuitBrowserAndRestore(browser(), false); in IN_PROC_BROWSER_TEST_F() local 498 CheckReloadedPageRestored(new_browser); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | session_restore_browsertest.cc | 150 Browser* new_browser = window_observer.WaitForSingleNewBrowser(); in QuitBrowserAndRestoreWithURL() local 154 return new_browser; in QuitBrowserAndRestoreWithURL() 301 Browser* new_browser = browser_added_observer.WaitForSingleNewBrowser(); in IN_PROC_BROWSER_TEST_F() local 303 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 304 EXPECT_EQ(1, new_browser->tab_strip_model()->count()); in IN_PROC_BROWSER_TEST_F() 306 new_browser->tab_strip_model()->GetWebContentsAt(0)->GetURL()); in IN_PROC_BROWSER_TEST_F() 325 Browser* new_browser = browser_added_observer.WaitForSingleNewBrowser(); in IN_PROC_BROWSER_TEST_F() local 327 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 375 Browser* new_browser = observer.WaitForSingleNewBrowser(); in IN_PROC_BROWSER_TEST_F() local 377 ASSERT_TRUE(new_browser != NULL); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | startup_browser_creator_browsertest.cc | 216 Browser* new_browser = FindOneOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F() local 217 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 220 TabStripModel* tab_strip = new_browser->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() 260 Browser* new_browser = FindOneOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F() local 261 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 264 ASSERT_EQ(1, new_browser->tab_strip_model()->count()); in IN_PROC_BROWSER_TEST_F() 286 Browser* new_browser = FindOneOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F() local 287 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 290 EXPECT_TRUE(new_browser->is_app()); in IN_PROC_BROWSER_TEST_F() 294 new_browser->app_name_.find(extension_app->id()), in IN_PROC_BROWSER_TEST_F() [all …]
|
D | startup_browser_creator_interactive_uitest.cc | 76 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local 81 new_browser = FindBrowserWithProfile(profile_2, in IN_PROC_BROWSER_TEST_F() 83 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 84 EXPECT_TRUE(new_browser->window()->IsActive()); in IN_PROC_BROWSER_TEST_F() 89 new_browser = FindBrowserWithProfile(profile_1, in IN_PROC_BROWSER_TEST_F() 91 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 92 EXPECT_FALSE(new_browser->window()->IsActive()); in IN_PROC_BROWSER_TEST_F() 96 new_browser = FindBrowserWithProfile(profile_3, in IN_PROC_BROWSER_TEST_F() 98 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 99 EXPECT_FALSE(new_browser->window()->IsActive()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab_drag_controller_interactive_uitest.cc | 697 Browser* new_browser = native_browser_list->get(1); in IN_PROC_BROWSER_TEST_P() local 698 ASSERT_TRUE(new_browser->window()->IsActive()); in IN_PROC_BROWSER_TEST_P() 699 TabStrip* tab_strip2 = GetTabStripForBrowser(new_browser); in IN_PROC_BROWSER_TEST_P() 702 EXPECT_EQ("0", IDString(new_browser->tab_strip_model())); in IN_PROC_BROWSER_TEST_P() 710 EXPECT_FALSE(GetIsDragged(new_browser)); in IN_PROC_BROWSER_TEST_P() 714 new_browser->window()->GetNativeWindow())); in IN_PROC_BROWSER_TEST_P() 718 EXPECT_FALSE(new_browser->window()->IsMaximized()); in IN_PROC_BROWSER_TEST_P() 764 Browser* new_browser = native_browser_list->get(1); in IN_PROC_BROWSER_TEST_P() local 765 ASSERT_TRUE(new_browser->window()->IsActive()); in IN_PROC_BROWSER_TEST_P() 766 TabStrip* tab_strip2 = GetTabStripForBrowser(new_browser); in IN_PROC_BROWSER_TEST_P() [all …]
|
D | tab_drag_controller_interactive_uitest_win.cc | 135 Browser* new_browser = native_browser_list->get(1); in IN_PROC_BROWSER_TEST_F() local 136 ASSERT_TRUE(new_browser->window()->IsActive()); in IN_PROC_BROWSER_TEST_F() 137 TabStrip* tab_strip2 = GetTabStripForBrowser(new_browser); in IN_PROC_BROWSER_TEST_F() 140 EXPECT_EQ("0", IDString(new_browser->tab_strip_model())); in IN_PROC_BROWSER_TEST_F() 253 Browser* new_browser = native_browser_list->get(0); in IN_PROC_BROWSER_TEST_F() local 254 EXPECT_NE(new_browser, browser()); in IN_PROC_BROWSER_TEST_F() 256 ASSERT_FALSE(GetTabStripForBrowser(new_browser)->IsDragSessionActive()); in IN_PROC_BROWSER_TEST_F() 259 EXPECT_EQ("0", IDString(new_browser->tab_strip_model())); in IN_PROC_BROWSER_TEST_F()
|
D | tab_drag_controller.cc | 1525 Browser* new_browser = in CompleteDrag() local 1528 ResetSelection(new_browser->tab_strip_model()); in CompleteDrag() 1529 new_browser->window()->Show(); in CompleteDrag()
|
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
D | browser_action_interactive_test.cc | 93 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local 99 new_browser = chrome::FindBrowserWithWebContents( in IN_PROC_BROWSER_TEST_F() 112 EXPECT_TRUE(new_browser != NULL); in IN_PROC_BROWSER_TEST_F() 124 EXPECT_TRUE(BrowserActionTestUtil(new_browser).HasPopup()); in IN_PROC_BROWSER_TEST_F() 339 Browser* new_browser = chrome::FindBrowserWithWebContents( in IN_PROC_BROWSER_TEST_F() local
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | tabs_interactive_test.cc | 34 Browser* new_browser = CreateBrowser(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local 36 extensions::ExtensionTabUtil::GetWindowId(new_browser); in IN_PROC_BROWSER_TEST_F() 46 new_browser))); in IN_PROC_BROWSER_TEST_F()
|
D | tabs_test.cc | 146 Browser* new_browser = CreateBrowser(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local 147 int new_id = ExtensionTabUtil::GetWindowId(new_browser); in IN_PROC_BROWSER_TEST_F() 157 new_browser))); in IN_PROC_BROWSER_TEST_F() 187 Browser* new_browser = CreateBrowser(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local 188 window_ids.insert(ExtensionTabUtil::GetWindowId(new_browser)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_browsertest.cc | 1343 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local 1344 for (chrome::BrowserIterator it; !it.done() && !new_browser; it.Next()) { in IN_PROC_BROWSER_TEST_F() 1346 new_browser = *it; in IN_PROC_BROWSER_TEST_F() 1348 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F() 1349 ASSERT_TRUE(new_browser != browser()); in IN_PROC_BROWSER_TEST_F() 1353 new_browser->app_name_.find(extension_app->id()), in IN_PROC_BROWSER_TEST_F() 1354 std::string::npos) << new_browser->app_name_; in IN_PROC_BROWSER_TEST_F() 1510 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local 1511 for (chrome::BrowserIterator it; !it.done() && !new_browser; it.Next()) { in IN_PROC_BROWSER_TEST_F() 1513 new_browser = *it; in IN_PROC_BROWSER_TEST_F() [all …]
|
D | browser_close_browsertest.cc | 179 Browser* new_browser = in CreateBrowserOnProfile() local 181 chrome::AddSelectedTabWithURL(new_browser, in CreateBrowserOnProfile() 185 new_browser->tab_strip_model()->GetActiveWebContents()); in CreateBrowserOnProfile() 186 new_browser->window()->Show(); in CreateBrowserOnProfile() 187 return new_browser; in CreateBrowserOnProfile()
|
D | browser_commands.cc | 223 Browser* new_browser = new Browser(Browser::CreateParams( in GetTabAndRevertIfNecessary() local 225 new_browser->tab_strip_model()->AddWebContents( in GetTabAndRevertIfNecessary() 228 new_browser->window()->Show(); in GetTabAndRevertIfNecessary() 686 Browser* new_browser = NULL; in DuplicateTabAt() local 688 new_browser = new Browser( in DuplicateTabAt() 695 new_browser = new Browser( in DuplicateTabAt() 701 BrowserWindow* new_window = new_browser->window(); in DuplicateTabAt() 707 new_browser->window()->Show(); in DuplicateTabAt() 710 new_browser->tab_strip_model()->AddWebContents( in DuplicateTabAt()
|
/external/chromium_org/chrome/browser/ui/blocked_content/ |
D | popup_blocker_browsertest.cc | 200 Browser* new_browser; in RunCheckTest() local 202 new_browser = browser_observer.WaitForSingleNewBrowser(); in RunCheckTest() 203 web_contents = new_browser->tab_strip_model()->GetActiveWebContents(); in RunCheckTest() 205 new_browser = browser; in RunCheckTest()
|
/external/chromium_org/chrome/test/base/ |
D | ui_test_utils.cc | 129 Browser* new_browser = GetBrowserNotInSet(excluded_browsers); in WaitForBrowserNotInSet() local 130 if (new_browser == NULL) { in WaitForBrowserNotInSet() 132 new_browser = observer.WaitForSingleNewBrowser(); in WaitForBrowserNotInSet() 134 DCHECK(!ContainsKey(excluded_browsers, new_browser)); in WaitForBrowserNotInSet() 136 return new_browser; in WaitForBrowserNotInSet()
|