Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: ash/app_list/app_list_shower_delegate_factory.h

Issue 1872033002: Revert of AppListController refactoring part 2: Ash's AppListShowerDelegate imlementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus_chrome_delegates_app_list_2
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 ASH_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
6 #define ASH_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
7
8 #include <memory>
9
10 #include "ash/ash_export.h"
11 #include "base/macros.h"
12 #include "ui/app_list/shower/app_list_shower_delegate_factory.h"
13
14 namespace app_list {
15 class AppListShower;
16 }
17
18 namespace ash {
19
20 class AppListViewDelegateFactory;
21
22 class ASH_EXPORT AppListShowerDelegateFactory
23 : public app_list::AppListShowerDelegateFactory {
24 public:
25 explicit AppListShowerDelegateFactory(
26 std::unique_ptr<AppListViewDelegateFactory> view_delegate_factory);
27 ~AppListShowerDelegateFactory() override;
28
29 std::unique_ptr<app_list::AppListShowerDelegate> GetDelegate(
30 app_list::AppListShower* shower) override;
31
32 private:
33 std::unique_ptr<AppListViewDelegateFactory> view_delegate_factory_;
34
35 DISALLOW_COPY_AND_ASSIGN(AppListShowerDelegateFactory);
36 };
37
38 } // namespace ash
39
40 #endif // ASH_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
OLDNEW
« no previous file with comments | « ash/app_list/app_list_shower_delegate.cc ('k') | ash/app_list/app_list_shower_delegate_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698