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

Unified Diff: ash/test/app_list_controller_test_api.cc

Issue 1770993002: wip: Refactoring Ash's AppListController, moving the bulk of the logic to chrome/browser/ui/ash/app… Base URL: https://chromium.googlesource.com/chromium/src.git@small_5_apps
Patch Set: AppListShower to new component: //ui/app_list/shower, GetViewDelegate() in GetViewDelegate(), test … Created 4 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 | « ash/test/app_list_controller_test_api.h ('k') | ash/test/shell_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/app_list_controller_test_api.cc
diff --git a/ash/test/app_list_controller_test_api.cc b/ash/test/app_list_controller_test_api.cc
deleted file mode 100644
index 6201e9ba4bd05919db1e979cd061f11c0d7d73f6..0000000000000000000000000000000000000000
--- a/ash/test/app_list_controller_test_api.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ash/test/app_list_controller_test_api.h"
-
-#include "ash/test/shell_test_api.h"
-#include "ash/wm/app_list_controller.h"
-#include "ui/app_list/views/app_list_main_view.h"
-#include "ui/app_list/views/app_list_view.h"
-#include "ui/app_list/views/apps_container_view.h"
-#include "ui/app_list/views/apps_grid_view.h"
-#include "ui/app_list/views/contents_view.h"
-#include "ui/app_list/views/start_page_view.h"
-
-namespace ash {
-namespace test {
-
-AppListControllerTestApi::AppListControllerTestApi(Shell* shell)
- : app_list_controller_(ShellTestApi(shell).app_list_controller()) {}
-
-app_list::AppsGridView* AppListControllerTestApi::GetRootGridView() const {
- return view()->app_list_main_view()->contents_view()->
- apps_container_view()->apps_grid_view();
-}
-
-app_list::StartPageView* AppListControllerTestApi::GetStartPageView() const {
- return view()->app_list_main_view()->contents_view()->start_page_view();
-}
-
-app_list::AppListView* AppListControllerTestApi::view() const {
- return app_list_controller_->view_;
-}
-
-void AppListControllerTestApi::LayoutContentsView() {
- view()->app_list_main_view()->contents_view()->Layout();
-}
-
-} // namespace test
-} // namespace ash
« no previous file with comments | « ash/test/app_list_controller_test_api.h ('k') | ash/test/shell_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698