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 #include "ui/app_list/presenter/test/app_list_presenter_impl_test_api.h" |
| 6 |
| 7 #include "ui/app_list/presenter/app_list_presenter_impl.h" |
| 8 #include "ui/app_list/views/app_list_view.h" |
| 9 |
| 10 namespace app_list { |
| 11 namespace test { |
| 12 |
| 13 AppListPresenterImplTestApi::AppListPresenterImplTestApi( |
| 14 AppListPresenterImpl* presenter) |
| 15 : presenter_(presenter) {} |
| 16 |
| 17 AppListView* AppListPresenterImplTestApi::view() { |
| 18 return presenter_->view_; |
| 19 } |
| 20 |
| 21 AppListPresenterDelegate* AppListPresenterImplTestApi::presenter_delegate() { |
| 22 return presenter_->presenter_delegate_.get(); |
| 23 } |
| 24 |
| 25 } // namespace test |
| 26 } // namespace app_list |
OLD | NEW |