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

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

Issue 1856943003: 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: Rebase. 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_WM_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
6 #define ASH_WM_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
7
8 #include "ash/ash_export.h"
9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "ui/app_list/shower/app_list_shower_delegate_factory.h"
12
13 namespace app_list {
14 class AppListShower;
15 }
16
17 namespace ash {
18
19 class AppListViewDelegateFactory;
20
21 class ASH_EXPORT AppListShowerDelegateFactory
22 : public app_list::AppListShowerDelegateFactory {
23 public:
24 explicit AppListShowerDelegateFactory(
25 scoped_ptr<AppListViewDelegateFactory> view_delegate_factory);
26 ~AppListShowerDelegateFactory() override;
27
28 scoped_ptr<app_list::AppListShowerDelegate> GetDelegate(
xiyuan 2016/04/07 18:13:22 nit: I just learned from my other review that we s
mfomitchev 2016/04/07 19:23:28 Cool, thanks! Done.
29 app_list::AppListShower* shower) override;
30
31 private:
32 scoped_ptr<AppListViewDelegateFactory> view_delegate_factory_;
33
34 DISALLOW_COPY_AND_ASSIGN(AppListShowerDelegateFactory);
35 };
36
37 } // namespace ash
38
39 #endif // ASH_WM_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698