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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "chrome/browser/extensions/chrome_extension_function.h" | 14 #include "chrome/browser/extensions/chrome_extension_function.h" |
15 #include "chrome/browser/extensions/extension_icon_manager.h" | 15 #include "chrome/browser/extensions/extension_icon_manager.h" |
16 #include "chrome/common/extensions/api/omnibox.h" | 16 #include "chrome/common/extensions/api/omnibox.h" |
17 #include "components/autocomplete/autocomplete_match.h" | 17 #include "components/omnibox/autocomplete_match.h" |
18 #include "components/search_engines/template_url_service.h" | 18 #include "components/search_engines/template_url_service.h" |
19 #include "extensions/browser/browser_context_keyed_api_factory.h" | 19 #include "extensions/browser/browser_context_keyed_api_factory.h" |
20 #include "extensions/browser/extension_registry_observer.h" | 20 #include "extensions/browser/extension_registry_observer.h" |
21 #include "ui/base/window_open_disposition.h" | 21 #include "ui/base/window_open_disposition.h" |
22 | 22 |
23 class Profile; | 23 class Profile; |
24 class TemplateURL; | 24 class TemplateURL; |
25 class TemplateURLService; | 25 class TemplateURLService; |
26 | 26 |
27 namespace base { | 27 namespace base { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 AutocompleteMatch* match); | 171 AutocompleteMatch* match); |
172 | 172 |
173 // This function converts style information populated by the JSON schema | 173 // This function converts style information populated by the JSON schema |
174 // // compiler into an ACMatchClassifications object. | 174 // // compiler into an ACMatchClassifications object. |
175 ACMatchClassifications StyleTypesToACMatchClassifications( | 175 ACMatchClassifications StyleTypesToACMatchClassifications( |
176 const api::omnibox::SuggestResult &suggestion); | 176 const api::omnibox::SuggestResult &suggestion); |
177 | 177 |
178 } // namespace extensions | 178 } // namespace extensions |
179 | 179 |
180 #endif // CHROME_BROWSER_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ | 180 #endif // CHROME_BROWSER_EXTENSIONS_API_OMNIBOX_OMNIBOX_API_H_ |
OLD | NEW |