Roll src/third_party/skia 0f881c6:b436ed6
[chromium-blink-merge.git] / ash / test / app_list_controller_test_api.h
blob733264bacb5c3de574a02663d24d35a09404fedd
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
3 // found in the LICENSE file.
5 #ifndef ASH_TEST_APP_LIST_CONTROLLER_TEST_API_H_
6 #define ASH_TEST_APP_LIST_CONTROLLER_TEST_API_H_
8 #include "base/basictypes.h"
10 namespace app_list {
11 class AppListView;
12 class AppsGridView;
15 namespace ash {
16 class AppListController;
17 class Shell;
19 namespace test {
21 // Accesses private data from an AppListController for testing.
22 class AppListControllerTestApi {
23 public:
24 explicit AppListControllerTestApi(Shell* shell);
26 // Gets the root level apps grid view.
27 app_list::AppsGridView* GetRootGridView();
29 app_list::AppListView* view();
31 private:
32 AppListController* app_list_controller_; // Not owned.
34 DISALLOW_COPY_AND_ASSIGN(AppListControllerTestApi);
37 } // namespace test
38 } // namespace ash
40 #endif // ASH_TEST_APP_LIST_CONTROLLER_TEST_API_H_