OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_BUILDER_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_BUILDER_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_BUILDER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" | 11 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" |
12 #include "ui/app_list/app_list_model.h" | 12 #include "ui/app_list/app_list_model.h" |
13 | 13 |
| 14 #if defined(OS_CHROMEOS) |
| 15 #include "chrome/browser/chromeos/contacts/contact.pb.h" |
| 16 #include "chrome/browser/chromeos/contacts/contact_manager.h" |
| 17 #endif |
| 18 |
14 namespace app_list { | 19 namespace app_list { |
15 class SearchBoxModel; | 20 class SearchBoxModel; |
16 class SearchResult; | 21 class SearchResult; |
17 } | 22 } |
18 | 23 |
19 class AppListController; | 24 class AppListController; |
20 class AutocompleteController; | 25 class AutocompleteController; |
21 class AutocompleteResult; | 26 class AutocompleteResult; |
22 class ExtensionAppProvider; | 27 class ExtensionAppProvider; |
23 class Profile; | 28 class Profile; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 AppListController* list_controller_; | 69 AppListController* list_controller_; |
65 | 70 |
66 // ExtensionAppProvider used for apps only mode. If apps only mode becomes the | 71 // ExtensionAppProvider used for apps only mode. If apps only mode becomes the |
67 // only mode, remove the AutocompleteController above. Otherwise, remove this. | 72 // only mode, remove the AutocompleteController above. Otherwise, remove this. |
68 scoped_refptr<ExtensionAppProvider> apps_provider_; | 73 scoped_refptr<ExtensionAppProvider> apps_provider_; |
69 | 74 |
70 DISALLOW_COPY_AND_ASSIGN(SearchBuilder); | 75 DISALLOW_COPY_AND_ASSIGN(SearchBuilder); |
71 }; | 76 }; |
72 | 77 |
73 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_BUILDER_H_ | 78 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_BUILDER_H_ |
OLD | NEW |