blob: 6e2e8fce73527385d7bd6c40c37e037f4c06554a [file] [log] [blame]
// 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_