Android: add UMA instrumentation for inertial sensors.
[chromium-blink-merge.git] / ash / test / app_list_controller_test_api.h
blob4064a7706b36539d4bf63d27d276b568bf90fbb1
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 Shell;
17 namespace internal {
18 class AppListController;
21 namespace test {
23 // Accesses private data from an AppListController for testing.
24 class AppListControllerTestApi {
25 public:
26 explicit AppListControllerTestApi(Shell* shell);
28 // Gets the root level apps grid view.
29 app_list::AppsGridView* GetRootGridView();
31 app_list::AppListView* view();
33 private:
34 internal::AppListController* app_list_controller_; // Not owned.
36 DISALLOW_COPY_AND_ASSIGN(AppListControllerTestApi);
39 } // namespace test
40 } // namespace ash
42 #endif // ASH_TEST_APP_LIST_CONTROLLER_TEST_API_H_