Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: chrome/browser/browser_focus_uitest.cc

Issue 10823029: Move WaitForLoadStop from ui_test_utils to browser_test_utils so that it can be reused in content_b… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browser_focus_uitest.cc
===================================================================
--- chrome/browser/browser_focus_uitest.cc (revision 148448)
+++ chrome/browser/browser_focus_uitest.cc (working copy)
@@ -841,26 +841,26 @@
// Open the history tab, focus should be on the tab contents.
chrome::ShowHistory(browser());
- ASSERT_NO_FATAL_FAILURE(ui_test_utils::WaitForLoadStop(
+ ASSERT_NO_FATAL_FAILURE(content::WaitForLoadStop(
chrome::GetActiveWebContents(browser())));
EXPECT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER));
// Open the new tab, focus should be on the location bar.
chrome::NewTab(browser());
- ASSERT_NO_FATAL_FAILURE(ui_test_utils::WaitForLoadStop(
+ ASSERT_NO_FATAL_FAILURE(content::WaitForLoadStop(
chrome::GetActiveWebContents(browser())));
EXPECT_TRUE(IsViewFocused(location_bar_focus_view_id_));
// Open the download tab, focus should be on the tab contents.
chrome::ShowDownloads(browser());
- ASSERT_NO_FATAL_FAILURE(ui_test_utils::WaitForLoadStop(
+ ASSERT_NO_FATAL_FAILURE(content::WaitForLoadStop(
chrome::GetActiveWebContents(browser())));
EXPECT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER));
// Open about:blank, focus should be on the location bar.
chrome::AddSelectedTabWithURL(browser(), GURL(chrome::kAboutBlankURL),
content::PAGE_TRANSITION_LINK);
- ASSERT_NO_FATAL_FAILURE(ui_test_utils::WaitForLoadStop(
+ ASSERT_NO_FATAL_FAILURE(content::WaitForLoadStop(
chrome::GetActiveWebContents(browser())));
EXPECT_TRUE(IsViewFocused(location_bar_focus_view_id_));
}

Powered by Google App Engine
This is Rietveld 408576698