Index: ui/app_list/presenter/test/app_list_presenter_impl_test_api.h |
diff --git a/ui/app_list/presenter/test/app_list_presenter_impl_test_api.h b/ui/app_list/presenter/test/app_list_presenter_impl_test_api.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2765f1e0f6cbe585b596294165e49d0b0e5f0451 |
--- /dev/null |
+++ b/ui/app_list/presenter/test/app_list_presenter_impl_test_api.h |
@@ -0,0 +1,34 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_APP_LIST_PRESENTER_TEST_APP_LIST_PRESENTER_IMPL_TEST_API_H_ |
+#define UI_APP_LIST_PRESENTER_TEST_APP_LIST_PRESENTER_IMPL_TEST_API_H_ |
+ |
+#include "base/macros.h" |
+ |
+namespace app_list { |
+class AppListPresenterDelegate; |
+class AppListPresenterImpl; |
+class AppListView; |
+ |
+namespace test { |
+ |
+// Accesses private data from an AppListController for testing. |
+class AppListPresenterImplTestApi { |
+ public: |
+ explicit AppListPresenterImplTestApi(AppListPresenterImpl* presenter); |
+ |
+ AppListView* view(); |
+ AppListPresenterDelegate* presenter_delegate(); |
+ |
+ private: |
+ AppListPresenterImpl* const presenter_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(AppListPresenterImplTestApi); |
+}; |
+ |
+} // namespace test |
+} // namespace app_list |
+ |
+#endif // UI_APP_LIST_PRESENTER_TEST_APP_LIST_PRESENTER_IMPL_TEST_API_H_ |