OLD | NEW |
| (Empty) |
1 // Copyright 2014 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 ATHENA_HOME_PUBLIC_APP_MODEL_BUILDER_H_ | |
6 #define ATHENA_HOME_PUBLIC_APP_MODEL_BUILDER_H_ | |
7 | |
8 #include "athena/athena_export.h" | |
9 | |
10 namespace app_list { | |
11 class AppListModel; | |
12 } // namespace app_list | |
13 | |
14 namespace athena { | |
15 | |
16 // An interface to fill the list of apps in the home card. | |
17 // TODO(mukai): integrate the interface with chrome/browser/ui/app_list/ | |
18 // extension_app_model_builder. | |
19 class ATHENA_EXPORT AppModelBuilder { | |
20 public: | |
21 virtual ~AppModelBuilder() {} | |
22 | |
23 // Registers |model| to the builder so that the builder can fill the currently | |
24 // available app_list::AppListItems. | |
25 virtual void RegisterAppListModel(app_list::AppListModel* model) = 0; | |
26 }; | |
27 | |
28 } // namespace athena | |
29 | |
30 #endif // ATHENA_HOME_PUBLIC_APP_MODEL_BUILDER_H_ | |
OLD | NEW |