| Index: ash/wm/app_list_shower_delegate_factory.h
|
| diff --git a/ash/wm/app_list_shower_delegate_factory.h b/ash/wm/app_list_shower_delegate_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..71c08288c4d93a247e4273ff1fd9b1d56351a785
|
| --- /dev/null
|
| +++ b/ash/wm/app_list_shower_delegate_factory.h
|
| @@ -0,0 +1,39 @@
|
| +// 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 ASH_WM_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
|
| +#define ASH_WM_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
|
| +
|
| +#include "ash/ash_export.h"
|
| +#include "base/macros.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "ui/app_list/shower/app_list_shower_delegate_factory.h"
|
| +
|
| +namespace app_list {
|
| +class AppListShower;
|
| +}
|
| +
|
| +namespace ash {
|
| +
|
| +class AppListViewDelegateFactory;
|
| +
|
| +class ASH_EXPORT AppListShowerDelegateFactory
|
| + : public app_list::AppListShowerDelegateFactory {
|
| + public:
|
| + explicit AppListShowerDelegateFactory(
|
| + scoped_ptr<AppListViewDelegateFactory> view_delegate_factory);
|
| + ~AppListShowerDelegateFactory() override;
|
| +
|
| + scoped_ptr<app_list::AppListShowerDelegate> GetDelegate(
|
| + app_list::AppListShower* shower) override;
|
| +
|
| + private:
|
| + scoped_ptr<AppListViewDelegateFactory> view_delegate_factory_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AppListShowerDelegateFactory);
|
| +};
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_WM_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
|
|
|