| 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 COMPONENTS_OMNIBOX_BROWSER_BUILTIN_PROVIDER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_BUILTIN_PROVIDER_H_ |
| 6 #define COMPONENTS_OMNIBOX_BROWSER_BUILTIN_PROVIDER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_BUILTIN_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "components/omnibox/browser/autocomplete_match.h" | 13 #include "components/omnibox/browser/autocomplete_match.h" |
| 14 #include "components/omnibox/browser/autocomplete_provider.h" | 14 #include "components/omnibox/browser/autocomplete_provider.h" |
| 15 | 15 |
| 16 class AutocompleteProviderClient; | 16 class AutocompleteProviderClient; |
| 17 | 17 |
| 18 // This is the provider for built-in URLs, such as about:settings and | 18 // This is the provider for built-in URLs, such as about:settings and |
| 19 // chrome://version. | 19 // chrome://version. |
| 20 class BuiltinProvider : public AutocompleteProvider { | 20 class BuiltinProvider : public AutocompleteProvider { |
| 21 public: | 21 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 35 const base::string16& inline_completion, | 35 const base::string16& inline_completion, |
| 36 const ACMatchClassifications& styles); | 36 const ACMatchClassifications& styles); |
| 37 | 37 |
| 38 AutocompleteProviderClient* client_; | 38 AutocompleteProviderClient* client_; |
| 39 Builtins builtins_; | 39 Builtins builtins_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(BuiltinProvider); | 41 DISALLOW_COPY_AND_ASSIGN(BuiltinProvider); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif // COMPONENTS_OMNIBOX_BROWSER_BUILTIN_PROVIDER_H_ | 44 #endif // COMPONENTS_OMNIBOX_BROWSER_BUILTIN_PROVIDER_H_ |
| OLD | NEW |