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 UI_APP_LIST_SHOWER_TEST_APP_LIST_SHOWER_IMPL_TEST_API_H_ |
| 6 #define UI_APP_LIST_SHOWER_TEST_APP_LIST_SHOWER_IMPL_TEST_API_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace app_list { |
| 11 class AppListShowerDelegate; |
| 12 class AppListShowerImpl; |
| 13 class AppListView; |
| 14 |
| 15 namespace test { |
| 16 |
| 17 // Accesses private data from an AppListController for testing. |
| 18 class AppListShowerImplTestApi { |
| 19 public: |
| 20 explicit AppListShowerImplTestApi(AppListShowerImpl* shower); |
| 21 |
| 22 AppListView* view(); |
| 23 AppListShowerDelegate* shower_delegate(); |
| 24 |
| 25 private: |
| 26 AppListShowerImpl* const shower_; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(AppListShowerImplTestApi); |
| 29 }; |
| 30 |
| 31 } // namespace test |
| 32 } // namespace app_list |
| 33 |
| 34 #endif // UI_APP_LIST_SHOWER_TEST_APP_LIST_SHOWER_IMPL_TEST_API_H_ |
OLD | NEW |