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

Unified Diff: ui/app_list/views/apps_grid_view_unittest.cc

Issue 14061025: ui: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « ui/app_list/pagination_model_unittest.cc ('k') | ui/app_list/views/search_result_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/apps_grid_view_unittest.cc
diff --git a/ui/app_list/views/apps_grid_view_unittest.cc b/ui/app_list/views/apps_grid_view_unittest.cc
index 9a0ffe5180062c36989b29ca92c85c41a04600f4..11687d577c7fb2f857b29c4dbdf8cc6e5e5557b0 100644
--- a/ui/app_list/views/apps_grid_view_unittest.cc
+++ b/ui/app_list/views/apps_grid_view_unittest.cc
@@ -34,12 +34,8 @@ const int kHeight = 240;
class PageFlipWaiter : public PaginationModelObserver {
public:
- PageFlipWaiter(MessageLoopForUI* ui_loop,
- PaginationModel* model)
- : ui_loop_(ui_loop),
- model_(model),
- wait_(false),
- page_changed_(false) {
+ PageFlipWaiter(base::MessageLoopForUI* ui_loop, PaginationModel* model)
+ : ui_loop_(ui_loop), model_(model), wait_(false), page_changed_(false) {
model_->AddObserver(this);
}
@@ -77,7 +73,7 @@ class PageFlipWaiter : public PaginationModelObserver {
virtual void TransitionChanged() OVERRIDE {
}
- MessageLoopForUI* ui_loop_;
+ base::MessageLoopForUI* ui_loop_;
PaginationModel* model_;
bool wait_;
bool page_changed_;
@@ -165,7 +161,7 @@ class AppsGridViewTest : public testing::Test {
scoped_ptr<AppsGridView> apps_grid_view_;
scoped_ptr<AppsGridViewTestApi> test_api_;
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
private:
DISALLOW_COPY_AND_ASSIGN(AppsGridViewTest);
« no previous file with comments | « ui/app_list/pagination_model_unittest.cc ('k') | ui/app_list/views/search_result_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698