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 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_DELEGATE_FACTORY_H_ |
| 6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_DELEGATE_FACTORY_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #include "ui/app_list/presenter/app_list_presenter_export.h" |
| 11 |
| 12 namespace app_list { |
| 13 |
| 14 class AppListPresenter; |
| 15 class AppListPresenterDelegate; |
| 16 |
| 17 class APP_LIST_PRESENTER_EXPORT AppListPresenterDelegateFactory { |
| 18 public: |
| 19 virtual ~AppListPresenterDelegateFactory() {} |
| 20 |
| 21 virtual std::unique_ptr<AppListPresenterDelegate> GetDelegate( |
| 22 AppListPresenter* presenter) = 0; |
| 23 }; |
| 24 |
| 25 } // namespace app_list |
| 26 |
| 27 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_DELEGATE_FACTORY_H_ |
OLD | NEW |