blob: 1a7875ed2d0a70bbfa82eb83ca3cefe30d6dd410 [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 AppListPresenterImpl;
class AppListPresenterDelegate;
class APP_LIST_PRESENTER_EXPORT AppListPresenterDelegateFactory {
public:
virtual ~AppListPresenterDelegateFactory() {}
virtual std::unique_ptr<AppListPresenterDelegate> GetDelegate(
AppListPresenterImpl* presenter) = 0;
};
} // namespace app_list
#endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_DELEGATE_FACTORY_H_