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

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

Issue 771063002: Rename AppListMainViewTest::ContentsView to AppListMainViewTest::GetContentsView to fix build break (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_main_view_unittest.cc
diff --git a/ui/app_list/views/app_list_main_view_unittest.cc b/ui/app_list/views/app_list_main_view_unittest.cc
index b8307618d0d4919af2e5e9b1628245fb9afbf1cd..ca35458b81e31f9e970b3af58f59e29349722bf2 100644
--- a/ui/app_list/views/app_list_main_view_unittest.cc
+++ b/ui/app_list/views/app_list_main_view_unittest.cc
@@ -154,14 +154,14 @@ class AppListMainViewTest : public views::ViewsTestBase {
grid_view->UpdateDragFromItem(pointer, drag_event);
}
- ContentsView* ContentsView() { return main_view_->contents_view(); }
+ ContentsView* GetContentsView() { return main_view_->contents_view(); }
AppsGridView* RootGridView() {
- return ContentsView()->apps_container_view()->apps_grid_view();
+ return GetContentsView()->apps_container_view()->apps_grid_view();
}
AppListFolderView* FolderView() {
- return ContentsView()->apps_container_view()->app_list_folder_view();
+ return GetContentsView()->apps_container_view()->app_list_folder_view();
}
AppsGridView* FolderGridView() { return FolderView()->items_grid_view(); }
@@ -298,7 +298,7 @@ TEST_F(AppListMainViewTest, DragReparentItemOntoPageSwitcher) {
const int kNumApps = 30;
// Ensure we are on the apps grid view page.
- app_list::ContentsView* contents_view = ContentsView();
+ app_list::ContentsView* contents_view = GetContentsView();
contents_view->SetActivePage(
contents_view->GetPageIndexForState(AppListModel::STATE_APPS));
contents_view->Layout();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698