| Index: ui/app_list/presenter/app_list_presenter_delegate_factory.h
|
| diff --git a/ui/app_list/presenter/app_list_presenter_delegate_factory.h b/ui/app_list/presenter/app_list_presenter_delegate_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6e2e8fce73527385d7bd6c40c37e037f4c06554a
|
| --- /dev/null
|
| +++ b/ui/app_list/presenter/app_list_presenter_delegate_factory.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2016 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_APP_LIST_PRESENTER_DELEGATE_FACTORY_H_
|
| +#define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_DELEGATE_FACTORY_H_
|
| +
|
| +#include <memory>
|
| +
|
| +#include "ui/app_list/presenter/app_list_presenter_export.h"
|
| +
|
| +namespace app_list {
|
| +
|
| +class AppListPresenter;
|
| +class AppListPresenterDelegate;
|
| +
|
| +class APP_LIST_PRESENTER_EXPORT AppListPresenterDelegateFactory {
|
| + public:
|
| + virtual ~AppListPresenterDelegateFactory() {}
|
| +
|
| + virtual std::unique_ptr<AppListPresenterDelegate> GetDelegate(
|
| + AppListPresenter* presenter) = 0;
|
| +};
|
| +
|
| +} // namespace app_list
|
| +
|
| +#endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_DELEGATE_FACTORY_H_
|
|
|