OLD | NEW |
---|---|
(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 UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_ | |
6 #define UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "ui/app_list/app_list_shower.h" | |
10 #include "ui/app_list/app_list_shower_delegate.h" | |
xiyuan
2016/03/24 20:31:11
nit: Since we forward declared AppListShower and A
mfomitchev
2016/03/29 17:33:31
Done.
| |
11 | |
12 namespace app_list { | |
13 class AppListShower; | |
xiyuan
2016/03/24 20:31:11
nit: insert an empty line
mfomitchev
2016/03/29 17:33:31
Done.
| |
14 class AppListShowerDelegate; | |
15 | |
16 class AppListShowerDelegateFactory { | |
17 public: | |
18 virtual ~AppListShowerDelegateFactory() {} | |
19 | |
20 virtual scoped_ptr<app_list::AppListShowerDelegate> GetDelegate( | |
21 app_list::AppListShower* shower) = 0; | |
xiyuan
2016/03/24 20:31:11
nit: "app_list::" is redundant
mfomitchev
2016/03/29 17:33:31
Done.
| |
22 }; | |
23 | |
24 } // namespace app_list | |
25 | |
26 #endif // UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_ | |
OLD | NEW |