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