Home
last modified time | relevance | path

Searched refs:new_browser (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/ui/
Dbrowser_init_browsertest.cc120 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
121 FindOneOtherBrowser(&new_browser); in IN_PROC_BROWSER_TEST_F()
125 EXPECT_EQ(Browser::TYPE_APP, new_browser->type()); in IN_PROC_BROWSER_TEST_F()
129 new_browser->app_name_.find(extension_app->id()), in IN_PROC_BROWSER_TEST_F()
130 std::string::npos) << new_browser->app_name_; in IN_PROC_BROWSER_TEST_F()
149 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
150 FindOneOtherBrowser(&new_browser); in IN_PROC_BROWSER_TEST_F()
154 EXPECT_EQ(Browser::TYPE_APP, new_browser->type()); in IN_PROC_BROWSER_TEST_F()
158 new_browser->app_name_.find(extension_app->id()), in IN_PROC_BROWSER_TEST_F()
159 std::string::npos) << new_browser->app_name_; in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/chrome/browser/chromeos/panels/
Dpanel_browsertest.cc51 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
53 i != BrowserList::end() && !new_browser; ++i) { in IN_PROC_BROWSER_TEST_F()
55 new_browser = *i; in IN_PROC_BROWSER_TEST_F()
58 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F()
59 EXPECT_EQ(Browser::TYPE_POPUP, new_browser->type()); in IN_PROC_BROWSER_TEST_F()
65 GTK_WIDGET(new_browser->window()->GetNativeHandle()), NULL)); in IN_PROC_BROWSER_TEST_F()
89 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
91 i != BrowserList::end() && !new_browser; ++i) { in IN_PROC_BROWSER_TEST_F()
93 new_browser = *i; in IN_PROC_BROWSER_TEST_F()
95 EXPECT_FALSE(new_browser); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/
Dbrowser_browsertest.cc536 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
538 i != BrowserList::end() && !new_browser; ++i) { in IN_PROC_BROWSER_TEST_F()
540 new_browser = *i; in IN_PROC_BROWSER_TEST_F()
542 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F()
543 ASSERT_TRUE(new_browser != browser()); in IN_PROC_BROWSER_TEST_F()
547 new_browser->app_name_.find(extension_app->id()), in IN_PROC_BROWSER_TEST_F()
548 std::string::npos) << new_browser->app_name_; in IN_PROC_BROWSER_TEST_F()
644 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
646 i != BrowserList::end() && !new_browser; ++i) { in IN_PROC_BROWSER_TEST_F()
648 new_browser = *i; in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/chrome/browser/sessions/
Dsession_restore_browsertest.cc99 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); in IN_PROC_BROWSER_TEST_F() local
101 ASSERT_TRUE(new_browser != NULL); in IN_PROC_BROWSER_TEST_F()
104 ASSERT_EQ(1, new_browser->tab_count()); in IN_PROC_BROWSER_TEST_F()
107 EXPECT_EQ(url, new_browser->GetTabContentsAt(0)->GetURL()); in IN_PROC_BROWSER_TEST_F()
219 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); in IN_PROC_BROWSER_TEST_F() local
220 ASSERT_TRUE(new_browser); in IN_PROC_BROWSER_TEST_F()
221 EXPECT_EQ(url, new_browser->GetTabContentsAt(0)->GetURL()); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/chromeos/
Dtab_closeable_state_watcher_browsertest.cc267 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); in IN_PROC_BROWSER_TEST_F() local
269 EXPECT_FALSE(new_browser->profile()->IsOffTheRecord()); in IN_PROC_BROWSER_TEST_F()
270 EXPECT_EQ(1, new_browser->tab_count()); in IN_PROC_BROWSER_TEST_F()
271 EXPECT_EQ(ntp_url_, new_browser->GetSelectedTabContents()->GetURL()); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_utils.cc141 Browser* new_browser = BrowserList::GetLastActive(); in OpenAllImpl() local
142 if (new_browser) { in OpenAllImpl()
143 TabContents* current_tab = new_browser->GetSelectedTabContents(); in OpenAllImpl()
144 DCHECK(new_browser && current_tab); in OpenAllImpl()
145 if (new_browser && current_tab) in OpenAllImpl()
/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_controller_gtk.cc673 Browser* new_browser = in CompleteDrag() local
676 TabStripModel* new_model = new_browser->tabstrip_model(); in CompleteDrag()
679 new_browser->window()->Show(); in CompleteDrag()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc1303 Browser* new_browser = in CompleteDrag() local
1307 TabStripModel* new_model = new_browser->tabstrip_model(); in CompleteDrag()
1318 ResetSelection(new_browser->tabstrip_model()); in CompleteDrag()
1319 new_browser->window()->Show(); in CompleteDrag()