Index: ui/app_list/presenter/test/app_list_presenter_impl_test_api.cc |
diff --git a/ui/app_list/presenter/test/app_list_presenter_impl_test_api.cc b/ui/app_list/presenter/test/app_list_presenter_impl_test_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..12d8dc14f07bcc8170a29eeb7457058854fb8be6 |
--- /dev/null |
+++ b/ui/app_list/presenter/test/app_list_presenter_impl_test_api.cc |
@@ -0,0 +1,26 @@ |
+// 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. |
+ |
+#include "ui/app_list/presenter/test/app_list_presenter_impl_test_api.h" |
+ |
+#include "ui/app_list/presenter/app_list_presenter_impl.h" |
+#include "ui/app_list/views/app_list_view.h" |
+ |
+namespace app_list { |
+namespace test { |
+ |
+AppListPresenterImplTestApi::AppListPresenterImplTestApi( |
+ AppListPresenterImpl* presenter) |
+ : presenter_(presenter) {} |
+ |
+AppListView* AppListPresenterImplTestApi::view() { |
+ return presenter_->view_; |
+} |
+ |
+AppListPresenterDelegate* AppListPresenterImplTestApi::presenter_delegate() { |
+ return presenter_->presenter_delegate_.get(); |
+} |
+ |
+} // namespace test |
+} // namespace app_list |