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

Side by Side Diff: ash/test/app_list_controller_test_api.cc

Issue 27777002: Implement app list folder management page UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/test/app_list_controller_test_api.h" 5 #include "ash/test/app_list_controller_test_api.h"
6 6
7 #include "ash/test/shell_test_api.h" 7 #include "ash/test/shell_test_api.h"
8 #include "ash/wm/app_list_controller.h" 8 #include "ash/wm/app_list_controller.h"
9 #include "ui/app_list/views/app_list_main_view.h"
10 #include "ui/app_list/views/app_list_view.h"
11 #include "ui/app_list/views/apps_container_view.h"
12 #include "ui/app_list/views/apps_grid_view.h"
13 #include "ui/app_list/views/contents_view.h"
9 14
10 namespace ash { 15 namespace ash {
11 namespace test { 16 namespace test {
12 17
13 AppListControllerTestApi::AppListControllerTestApi(Shell* shell) 18 AppListControllerTestApi::AppListControllerTestApi(Shell* shell)
14 : app_list_controller_(ShellTestApi(shell).app_list_controller()) {} 19 : app_list_controller_(ShellTestApi(shell).app_list_controller()) {}
15 20
21 app_list::AppsGridView* AppListControllerTestApi::GetRootGridView() {
22 return view()->app_list_main_view()->contents_view()->
23 apps_container_view()->apps_grid_view();
24 }
25
16 app_list::AppListView* AppListControllerTestApi::view() { 26 app_list::AppListView* AppListControllerTestApi::view() {
17 return app_list_controller_->view_; 27 return app_list_controller_->view_;
18 } 28 }
19 29
20 } // namespace test 30 } // namespace test
21 } // namespace ash 31 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698