| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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/app_list.h" |
| 6 |
| 7 namespace app_list { |
| 8 |
| 9 AppList::AppList() {} |
| 10 |
| 11 AppList::~AppList() {} |
| 12 |
| 13 void AppList::BindRequest(mojom::AppListRequest request) { |
| 14 bindings_.AddBinding(this, std::move(request)); |
| 15 } |
| 16 |
| 17 mojom::AppListPresenter* AppList::GetAppListPresenter() { |
| 18 return presenter_.get(); |
| 19 } |
| 20 |
| 21 void AppList::SetAppListPresenter(mojom::AppListPresenterPtr presenter) { |
| 22 presenter_ = std::move(presenter); |
| 23 } |
| 24 |
| 25 } // namespace app_list |
| OLD | NEW |