Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_apitest.cc223 Browser* app_browser = FindOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F() local
224 ASSERT_TRUE(app_browser->is_type_popup()); in IN_PROC_BROWSER_TEST_F()
225 ASSERT_TRUE(app_browser->is_app()); in IN_PROC_BROWSER_TEST_F()
230 content::Source<Browser>(app_browser)); in IN_PROC_BROWSER_TEST_F()
232 chrome::CloseWindow(app_browser); in IN_PROC_BROWSER_TEST_F()
257 app_browser = FindOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F()
258 ASSERT_TRUE(app_browser->is_type_popup()); in IN_PROC_BROWSER_TEST_F()
259 ASSERT_TRUE(app_browser->is_app()); in IN_PROC_BROWSER_TEST_F()
322 Browser* app_browser = FindOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F() local
323 ASSERT_TRUE(app_browser->is_app()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sessions/
Dpersistent_tab_restore_service_browsertest.cc30 Browser* app_browser = CreateBrowserForApp(app_name, profile); in IN_PROC_BROWSER_TEST_F() local
31 app_browser->window()->Close(); in IN_PROC_BROWSER_TEST_F()
34 content::Source<Browser>(app_browser)); in IN_PROC_BROWSER_TEST_F()
Dsession_restore_browsertest.cc312 Browser* app_browser = CreateBrowserForApp(app_name, browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
313 app_browser->window()->Maximize(); in IN_PROC_BROWSER_TEST_F()
314 app_browser->window()->Show(); in IN_PROC_BROWSER_TEST_F()
315 EXPECT_TRUE(app_browser->window()->IsMaximized()); in IN_PROC_BROWSER_TEST_F()
316 EXPECT_TRUE(app_browser->is_app()); in IN_PROC_BROWSER_TEST_F()
317 EXPECT_TRUE(app_browser->is_type_popup()); in IN_PROC_BROWSER_TEST_F()
324 chrome::NewWindow(app_browser); in IN_PROC_BROWSER_TEST_F()
328 EXPECT_TRUE(app_browser->window()->IsMaximized()); in IN_PROC_BROWSER_TEST_F()
329 EXPECT_TRUE(app_browser->is_app()); in IN_PROC_BROWSER_TEST_F()
330 EXPECT_TRUE(app_browser->is_type_popup()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_window_property_manager_browsertest_win.cc257 Browser* app_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
258 for (chrome::BrowserIterator it; !it.done() && !app_browser; it.Next()) { in IN_PROC_BROWSER_TEST_F()
260 app_browser = *it; in IN_PROC_BROWSER_TEST_F()
262 ASSERT_TRUE(app_browser); in IN_PROC_BROWSER_TEST_F()
263 ASSERT_TRUE(app_browser != browser()); in IN_PROC_BROWSER_TEST_F()
266 base::Bind(&ValidateHostedAppWindowProperties, app_browser, extension)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/
Dbrowser_browsertest.cc1204 Browser* app_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
1205 for (chrome::BrowserIterator it; !it.done() && !app_browser; it.Next()) { in IN_PROC_BROWSER_TEST_F()
1207 app_browser = *it; in IN_PROC_BROWSER_TEST_F()
1209 ASSERT_TRUE(app_browser); in IN_PROC_BROWSER_TEST_F()
1217 ASSERT_EQ(1, app_browser->tab_strip_model()->count()); in IN_PROC_BROWSER_TEST_F()
1218 ASSERT_EQ(app_tab, app_browser->tab_strip_model()->GetWebContentsAt(0)); in IN_PROC_BROWSER_TEST_F()
1384 Browser* app_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
1392 app_browser = *it; in IN_PROC_BROWSER_TEST_F()
1396 ASSERT_TRUE(app_browser); in IN_PROC_BROWSER_TEST_F()
1397 ASSERT_TRUE(app_browser != browser()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dbrowser_navigator_browsertest.cc522 Browser* app_browser = CreateEmptyBrowserForApp(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
523 chrome::NavigateParams p(MakeNavigateParams(app_browser)); in IN_PROC_BROWSER_TEST_F()
529 EXPECT_NE(app_browser, p.browser); in IN_PROC_BROWSER_TEST_F()
538 EXPECT_EQ(1, app_browser->tab_strip_model()->count()); in IN_PROC_BROWSER_TEST_F()
546 Browser* app_browser = CreateEmptyBrowserForApp(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
548 chrome::NavigateParams p1(MakeNavigateParams(app_browser)); in IN_PROC_BROWSER_TEST_F()
568 EXPECT_EQ(1, app_browser->tab_strip_model()->count()); in IN_PROC_BROWSER_TEST_F()
Dbrowser_commands.cc1282 Browser* app_browser = new Browser( in ConvertTabToAppWindow() local
1288 app_browser->tab_strip_model()->AppendWebContents(contents, true); in ConvertTabToAppWindow()
1292 app_browser->window()->Show(); in ConvertTabToAppWindow()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc2086 Browser* app_browser = NULL; in IN_PROC_BROWSER_TEST_F() local
2091 it != ash_browser_list->end_last_active() && !app_browser; ++it) { in IN_PROC_BROWSER_TEST_F()
2093 app_browser = *it; in IN_PROC_BROWSER_TEST_F()
2097 ASSERT_TRUE(app_browser); in IN_PROC_BROWSER_TEST_F()
2100 ui_test_utils::NavigateToURL(app_browser, in IN_PROC_BROWSER_TEST_F()
2105 app_browser->tab_strip_model()->CloseWebContentsAt(0, in IN_PROC_BROWSER_TEST_F()