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_SEARCH_CONTROLLER_FACTORY_H_ | |
6 #define ATHENA_HOME_PUBLIC_SEARCH_CONTROLLER_FACTORY_H_ | |
7 | |
8 #include "athena/athena_export.h" | |
9 #include "ui/app_list/app_list_model.h" | |
10 #include "ui/app_list/search_controller.h" | |
11 | |
12 namespace app_list { | |
13 class SearchBoxModel; | |
14 } | |
15 | |
16 namespace athena { | |
17 | |
18 class ATHENA_EXPORT SearchControllerFactory { | |
19 public: | |
20 virtual ~SearchControllerFactory() {} | |
21 | |
22 virtual scoped_ptr<app_list::SearchController> Create( | |
23 app_list::SearchBoxModel* search_box, | |
24 app_list::AppListModel::SearchResults* results) = 0; | |
25 }; | |
26 | |
27 } // namespace athena | |
28 | |
29 #endif // ATHENA_HOME_PUBLIC_SEARCH_CONTROLLER_FACTORY_H_ | |
OLD | NEW |