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_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_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.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 AutocompleteController; | 24 class AutocompleteController; |
20 class AutocompleteResult; | 25 class AutocompleteResult; |
21 class ExtensionAppProvider; | 26 class ExtensionAppProvider; |
22 class Profile; | 27 class Profile; |
23 | 28 |
(...skipping 28 matching lines...) Expand all Loading... |
52 scoped_ptr<AutocompleteController> controller_; | 57 scoped_ptr<AutocompleteController> controller_; |
53 | 58 |
54 // ExtensionAppProvider used for apps only mode. If apps only mode becomes the | 59 // ExtensionAppProvider used for apps only mode. If apps only mode becomes the |
55 // only mode, remove the AutocompleteController above. Otherwise, remove this. | 60 // only mode, remove the AutocompleteController above. Otherwise, remove this. |
56 scoped_refptr<ExtensionAppProvider> apps_provider_; | 61 scoped_refptr<ExtensionAppProvider> apps_provider_; |
57 | 62 |
58 DISALLOW_COPY_AND_ASSIGN(SearchBuilder); | 63 DISALLOW_COPY_AND_ASSIGN(SearchBuilder); |
59 }; | 64 }; |
60 | 65 |
61 #endif // CHROME_BROWSER_UI_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_ | 66 #endif // CHROME_BROWSER_UI_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_ |
OLD | NEW |