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