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

Unified Diff: chrome/browser/browser_focus_uitest.cc

Issue 10822030: Move ui_test_utils::RunMessageLoop to test_utils so that it can be reused by content_browsertests. (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 148497)
+++ chrome/browser/browser_focus_uitest.cc (working copy)
@@ -177,7 +177,7 @@
FROM_HERE,
base::Bind(&CheckFocus, browser(), vid, timeout),
base::TimeDelta::FromMilliseconds(100));
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
return IsViewFocused(vid);
}
@@ -235,7 +235,7 @@
FROM_HERE,
MessageLoop::QuitClosure(),
base::TimeDelta::FromMilliseconds(kActionDelayMs));
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
#endif // defined(OS_POSIX)
ASSERT_TRUE(IsViewFocused(location_bar_focus_view_id_));
@@ -637,7 +637,7 @@
MessageLoop::current()->PostDelayedTask(FROM_HERE,
MessageLoop::QuitClosure(),
base::TimeDelta::FromSeconds(1));
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
chrome::FocusLocationBar(browser());
@@ -762,7 +762,7 @@
MessageLoop::current()->PostDelayedTask(FROM_HERE,
MessageLoop::QuitClosure(),
base::TimeDelta::FromSeconds(1));
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
// The interstitial should have focus now.
ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER));
« no previous file with comments | « chrome/browser/automation/automation_tab_helper_browsertest.cc ('k') | chrome/browser/browser_keyevents_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698