/external/chromium/chrome/browser/chromeos/panels/ |
panel_browsertest.cc | 51 Browser* new_browser = NULL; local 53 i != BrowserList::end() && !new_browser; ++i) { 55 new_browser = *i; 58 ASSERT_TRUE(new_browser); 59 EXPECT_EQ(Browser::TYPE_POPUP, new_browser->type()); 65 GTK_WIDGET(new_browser->window()->GetNativeHandle()), NULL)); 89 Browser* new_browser = NULL; local 91 i != BrowserList::end() && !new_browser; ++i) { 93 new_browser = *i; 95 EXPECT_FALSE(new_browser); [all...] |
/external/chromium_org/chrome/browser/ui/startup/ |
startup_browser_creator_interactive_uitest.cc | 76 Browser* new_browser = NULL; local 81 new_browser = FindBrowserWithProfile(profile_2, 83 ASSERT_TRUE(new_browser); 84 EXPECT_TRUE(new_browser->window()->IsActive()); 89 new_browser = FindBrowserWithProfile(profile_1, 91 ASSERT_TRUE(new_browser); 92 EXPECT_FALSE(new_browser->window()->IsActive()); 96 new_browser = FindBrowserWithProfile(profile_3, 98 ASSERT_TRUE(new_browser); 99 EXPECT_FALSE(new_browser->window()->IsActive()) [all...] |
startup_browser_creator_browsertest.cc | 215 Browser* new_browser = FindOneOtherBrowser(browser()); local 216 ASSERT_TRUE(new_browser); 219 TabStripModel* tab_strip = new_browser->tab_strip_model(); 259 Browser* new_browser = FindOneOtherBrowser(browser()); local 260 ASSERT_TRUE(new_browser); 263 ASSERT_EQ(1, new_browser->tab_strip_model()->count()); 285 Browser* new_browser = FindOneOtherBrowser(browser()); local 286 ASSERT_TRUE(new_browser); 289 EXPECT_TRUE(new_browser->is_app()); 293 new_browser->app_name_.find(extension_app->id()) 316 Browser* new_browser = FindOneOtherBrowser(browser()); local 350 Browser* new_browser = FindOneOtherBrowser(browser()); local 404 Browser* new_browser = FindOneOtherBrowser(browser()); local 433 Browser* new_browser = FindOneOtherBrowser(browser()); local 458 Browser* new_browser = FindOneOtherBrowser(browser()); local 484 Browser* new_browser = FindOneOtherBrowser(browser()); local 518 Browser* new_browser = FindOneOtherBrowser(browser()); local 551 Browser* new_browser = FindOneOtherBrowser(browser()); local 624 Browser* new_browser = NULL; local 725 Browser* new_browser = NULL; local 819 Browser* new_browser = NULL; local 921 Browser* new_browser = NULL; local 986 Browser* new_browser = FindOneOtherBrowser(browser()); local 1060 Browser* new_browser = FindOneOtherBrowser(browser()); local 1094 Browser* new_browser = FindOneOtherBrowser(browser()); local 1130 Browser* new_browser = FindOneOtherBrowser(browser()); local 1169 Browser* new_browser = FindOneOtherBrowser(browser()); local 1208 Browser* new_browser = FindOneOtherBrowser(browser()); local 1247 Browser* new_browser = FindOneOtherBrowser(browser()); local 1284 Browser* new_browser = FindOneOtherBrowser(browser()); local 1332 Browser* new_browser = FindOneOtherBrowser(browser()); local [all...] |
/external/chromium_org/chrome/browser/sessions/ |
session_restore_browsertest.cc | 145 Browser* new_browser = window_observer.WaitForSingleNewBrowser(); local 149 return new_browser; 218 Browser* new_browser = browser_added_observer.WaitForSingleNewBrowser(); local 220 ASSERT_TRUE(new_browser); 221 EXPECT_EQ(1, new_browser->tab_strip_model()->count()); 223 new_browser->tab_strip_model()->GetWebContentsAt(0)->GetURL()); 242 Browser* new_browser = browser_added_observer.WaitForSingleNewBrowser(); local 244 ASSERT_TRUE(new_browser); 295 Browser* new_browser = observer.WaitForSingleNewBrowser(); local 297 ASSERT_TRUE(new_browser != NULL) 449 Browser* new_browser = browser_added_observer.WaitForSingleNewBrowser(); local 537 Browser* new_browser = NULL; local 600 Browser* new_browser = window_observer.WaitForSingleNewBrowser(); local 638 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 655 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 672 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 687 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 721 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 751 Browser* new_browser = QuitBrowserAndRestore(browser(), 2); local 772 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 793 Browser* new_browser = QuitBrowserAndRestore(browser(), 2); local 813 Browser* new_browser = QuitBrowserAndRestore(browser(), 3); local 898 Browser* new_browser = QuitBrowserAndRestore(app_window, 1); local 925 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 956 Browser* new_browser = QuitBrowserAndRestore(browser(), 3); local 978 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 1012 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 1050 Browser* new_browser = QuitBrowserAndRestoreWithURL(browser(), 3, url3_); local 1071 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 1106 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local 1151 Browser* new_browser = QuitBrowserAndRestore(browser(), 1); local [all...] |
/external/chromium/chrome/browser/ui/ |
browser_init_browsertest.cc | 120 Browser* new_browser = NULL; local 121 FindOneOtherBrowser(&new_browser); 125 EXPECT_EQ(Browser::TYPE_APP, new_browser->type()); 129 new_browser->app_name_.find(extension_app->id()), 130 std::string::npos) << new_browser->app_name_; 149 Browser* new_browser = NULL; local 150 FindOneOtherBrowser(&new_browser); 154 EXPECT_EQ(Browser::TYPE_APP, new_browser->type()); 158 new_browser->app_name_.find(extension_app->id()), 159 std::string::npos) << new_browser->app_name_ 180 Browser* new_browser = NULL; local 206 Browser* new_browser = NULL; local [all...] |
/external/chromium/chrome/browser/sessions/ |
session_restore_browsertest.cc | 99 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); local 101 ASSERT_TRUE(new_browser != NULL); 104 ASSERT_EQ(1, new_browser->tab_count()); 107 EXPECT_EQ(url, new_browser->GetTabContentsAt(0)->GetURL()); 219 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); local 220 ASSERT_TRUE(new_browser); 221 EXPECT_EQ(url, new_browser->GetTabContentsAt(0)->GetURL());
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_drag_controller_interactive_uitest.cc | 512 Browser* new_browser = native_browser_list->get(1); local 513 ASSERT_TRUE(new_browser->window()->IsActive()); 514 TabStrip* tab_strip2 = GetTabStripForBrowser(new_browser); 517 EXPECT_EQ("0", IDString(new_browser->tab_strip_model())); 525 EXPECT_TRUE(GetTrackedByWorkspace(new_browser)); 529 new_browser->window()->GetNativeWindow())); 533 EXPECT_FALSE(new_browser->window()->IsMaximized()); 571 Browser* new_browser = native_browser_list->get(1); local 572 ASSERT_TRUE(new_browser->window()->IsActive()); 573 TabStrip* tab_strip2 = GetTabStripForBrowser(new_browser); 689 Browser* new_browser = browser_list->get(1); local 718 Browser* new_browser = native_browser_list->get(0); local 734 Browser* new_browser = browser_list->get(1); local 1105 Browser* new_browser = browser_list->get(1); local 1145 Browser* new_browser = native_browser_list->get(1); local 1221 Browser* new_browser = native_browser_list->get(1); local 1684 Browser* new_browser = browser_list->get(1); local [all...] |
tab_drag_controller_interactive_uitest_win.cc | 135 Browser* new_browser = native_browser_list->get(1); local 136 ASSERT_TRUE(new_browser->window()->IsActive()); 137 TabStrip* tab_strip2 = GetTabStripForBrowser(new_browser); 140 EXPECT_EQ("0", IDString(new_browser->tab_strip_model())); 253 Browser* new_browser = native_browser_list->get(0); local 254 EXPECT_NE(new_browser, browser()); 256 ASSERT_FALSE(GetTabStripForBrowser(new_browser)->IsDragSessionActive()); 259 EXPECT_EQ("0", IDString(new_browser->tab_strip_model()));
|
tab_drag_controller.cc | 1872 Browser* new_browser = local [all...] |
/external/chromium/chrome/browser/ |
browser_browsertest.cc | 536 Browser* new_browser = NULL; local 538 i != BrowserList::end() && !new_browser; ++i) { 540 new_browser = *i; 542 ASSERT_TRUE(new_browser); 543 ASSERT_TRUE(new_browser != browser()); 547 new_browser->app_name_.find(extension_app->id()), 548 std::string::npos) << new_browser->app_name_; 644 Browser* new_browser = NULL; local 646 i != BrowserList::end() && !new_browser; ++i) { 648 new_browser = *i 712 Browser* new_browser = NULL; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
tabs_interactive_test.cc | 33 Browser* new_browser = CreateBrowser(browser()->profile()); local 34 int focused_window_id = ExtensionTabUtil::GetWindowId(new_browser); 43 new_browser)));
|
tabs_test.cc | 140 Browser* new_browser = CreateBrowser(browser()->profile()); local 141 int new_id = ExtensionTabUtil::GetWindowId(new_browser); 143 // Get the current window using new_browser. 151 new_browser))); 181 Browser* new_browser = CreateBrowser(browser()->profile()); local 182 window_ids.insert(ExtensionTabUtil::GetWindowId(new_browser));
|
/external/chromium/chrome/browser/chromeos/ |
tab_closeable_state_watcher_browsertest.cc | 267 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); local 269 EXPECT_FALSE(new_browser->profile()->IsOffTheRecord()); 270 EXPECT_EQ(1, new_browser->tab_count()); 271 EXPECT_EQ(ntp_url_, new_browser->GetSelectedTabContents()->GetURL());
|
/external/chromium_org/chrome/browser/ui/blocked_content/ |
popup_blocker_browsertest.cc | 272 Browser* new_browser; local 274 new_browser = browser_observer.WaitForSingleNewBrowser(); 275 web_contents = new_browser->tab_strip_model()->GetActiveWebContents(); 277 new_browser = browser(); 419 Browser* new_browser = browser_observer.WaitForSingleNewBrowser(); local 422 web_contents = new_browser->tab_strip_model()->GetActiveWebContents(); 492 Browser* new_browser = browser_observer.WaitForSingleNewBrowser(); local 495 web_contents = new_browser->tab_strip_model()->GetActiveWebContents();
|
/external/chromium_org/chrome/browser/ui/ |
browser_close_browsertest.cc | 179 Browser* new_browser = local 181 chrome::AddSelectedTabWithURL(new_browser, GURL(content::kAboutBlankURL), 184 new_browser->tab_strip_model()->GetActiveWebContents()); 185 new_browser->window()->Show(); 186 return new_browser;
|
browser_browsertest.cc | 1077 Browser* new_browser = NULL; local 1189 Browser* new_browser = NULL; local 1265 Browser* new_browser = NULL; local 1371 Browser* new_browser = local 1406 Browser* new_browser = local [all...] |
browser_commands.cc | 599 Browser* new_browser = NULL; local 602 new_browser = new Browser( 609 new_browser = new Browser( 615 BrowserWindow* new_window = new_browser->window(); 621 new_browser->window()->Show(); 624 new_browser->tab_strip_model()->AddWebContents( [all...] |
/external/chromium_org/chrome_frame/test/ |
ie_event_sink.cc | 613 base::win::ScopedComPtr<IDispatch> new_browser; local 614 HRESULT hr = new_browser.CreateInstance(CLSID_InternetExplorer, NULL, 616 DCHECK(SUCCEEDED(hr) && new_browser); 617 *dispatch = new_browser.Detach(); 691 base::win::ScopedComPtr<IDispatch> new_browser; local 692 HRESULT hr = new_browser.CreateInstance(CLSID_InternetExplorer, NULL, 694 DCHECK(SUCCEEDED(hr) && new_browser); 695 *dispatch = new_browser.Detach();
|
/external/chromium_org/chrome/test/base/ |
ui_test_utils.cc | 151 Browser* new_browser = GetBrowserNotInSet(excluded_browsers); local 152 if (new_browser == NULL) { 154 new_browser = observer.WaitForSingleNewBrowser(); 156 DCHECK(!ContainsKey(excluded_browsers, new_browser)); 158 return new_browser;
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_utils.cc | 141 Browser* new_browser = BrowserList::GetLastActive(); local 142 if (new_browser) { 143 TabContents* current_tab = new_browser->GetSelectedTabContents(); 144 DCHECK(new_browser && current_tab); 145 if (new_browser && current_tab) 147 } // else, new_browser == NULL, which happens during testing.
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
dragged_tab_controller_gtk.cc | 673 Browser* new_browser = local 676 TabStripModel* new_model = new_browser->tabstrip_model(); 679 new_browser->window()->Show();
|
/external/chromium_org/chrome/browser/ui/window_sizer/ |
window_sizer_ash_unittest.cc | 668 scoped_ptr<Browser> new_browser(new Browser(new_window_params)); 679 PERSISTED, new_browser.get(), gfx::Rect(), &window_bounds); 698 PERSISTED, new_browser.get(), gfx::Rect(), &window_bounds); 712 PERSISTED, new_browser.get(), gfx::Rect(), &window_bounds); [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
dragged_tab_controller.cc | 1303 Browser* new_browser = local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
dragged_tab_controller_gtk.cc | 767 Browser* new_browser = local 770 RestoreSelection(new_browser->tab_strip_model()); 771 new_browser->window()->Show(); [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
performance_monitor_browsertest.cc | 378 Browser* new_browser = window_observer.WaitForSingleNewBrowser(); local 382 return new_browser;
|