This source file includes following definitions.
- GetRootGridView
- view
#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"
namespace ash {
namespace test {
AppListControllerTestApi::AppListControllerTestApi(Shell* shell)
: app_list_controller_(ShellTestApi(shell).app_list_controller()) {}
app_list::AppsGridView* AppListControllerTestApi::GetRootGridView() {
return view()->app_list_main_view()->contents_view()->
apps_container_view()->apps_grid_view();
}
app_list::AppListView* AppListControllerTestApi::view() {
return app_list_controller_->view_;
}
}
}