OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef ASH_TEST_APP_LIST_CONTROLLER_TEST_API_H_ |
| 6 #define ASH_TEST_APP_LIST_CONTROLLER_TEST_API_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 10 namespace app_list { |
| 11 class AppListView; |
| 12 } |
| 13 |
| 14 namespace ash { |
| 15 class Shell; |
| 16 namespace internal { |
| 17 class AppListController; |
| 18 } |
| 19 |
| 20 namespace test { |
| 21 |
| 22 // Accesses private data from an AppListController for testing. |
| 23 class AppListControllerTestApi { |
| 24 public: |
| 25 explicit AppListControllerTestApi(Shell* shell); |
| 26 |
| 27 app_list::AppListView* view(); |
| 28 |
| 29 private: |
| 30 internal::AppListController* app_list_controller_; // Not owned. |
| 31 |
| 32 DISALLOW_COPY_AND_ASSIGN(AppListControllerTestApi); |
| 33 }; |
| 34 |
| 35 } // namespace test |
| 36 } // namespace ash |
| 37 |
| 38 #endif // ASH_TEST_APP_LIST_CONTROLLER_TEST_API_H_ |
OLD | NEW |