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_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/scoped_observer.h" | 13 #include "base/scoped_observer.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "chrome/browser/extensions/chrome_extension_function.h" | 15 #include "chrome/browser/extensions/chrome_extension_function.h" |
16 #include "chrome/browser/extensions/extension_icon_manager.h" | 16 #include "chrome/browser/extensions/extension_icon_manager.h" |
17 #include "chrome/common/extensions/api/omnibox.h" | 17 #include "chrome/common/extensions/api/omnibox.h" |
18 #include "components/omnibox/browser/autocomplete_match.h" | 18 #include "components/omnibox/browser/autocomplete_match.h" |
19 #include "components/search_engines/template_url_service.h" | 19 #include "components/search_engines/template_url_service.h" |
20 #include "extensions/browser/browser_context_keyed_api_factory.h" | 20 #include "extensions/browser/browser_context_keyed_api_factory.h" |
21 #include "extensions/browser/extension_registry_observer.h" | 21 #include "extensions/browser/extension_registry_observer.h" |
22 #include "ui/base/window_open_disposition.h" | 22 #include "ui/base/window_open_disposition.h" |
23 | 23 |
24 class Profile; | 24 class Profile; |
25 class TemplateURL; | 25 class TemplateURL; |
26 class TemplateURLService; | 26 class TemplateURLService; |
27 | 27 |
28 namespace base { | |
29 class ListValue; | |
30 } | |
31 | |
32 namespace content { | 28 namespace content { |
33 class BrowserContext; | 29 class BrowserContext; |
34 class WebContents; | 30 class WebContents; |
35 } | 31 } |
36 | 32 |
37 namespace gfx { | 33 namespace gfx { |
38 class Image; | 34 class Image; |
39 } | 35 } |
40 | 36 |
41 namespace extensions { | 37 namespace extensions { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 AutocompleteMatch* match); | 167 AutocompleteMatch* match); |
172 | 168 |
173 // This function converts style information populated by the JSON schema | 169 // This function converts style information populated by the JSON schema |
174 // // compiler into an ACMatchClassifications object. | 170 // // compiler into an ACMatchClassifications object. |
175 ACMatchClassifications StyleTypesToACMatchClassifications( | 171 ACMatchClassifications StyleTypesToACMatchClassifications( |
176 const api::omnibox::SuggestResult &suggestion); | 172 const api::omnibox::SuggestResult &suggestion); |
177 | 173 |
178 } // namespace extensions | 174 } // namespace extensions |
179 | 175 |
180 #endif // CHROME_BROWSER_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ | 176 #endif // CHROME_BROWSER_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ |
OLD | NEW |