Chromium Code Reviews| Index: components/omnibox/autocomplete_provider.h |
| diff --git a/components/omnibox/autocomplete_provider.h b/components/omnibox/autocomplete_provider.h |
| index 9c784ba563924f0ec8613fcab84352b7e21f2c1f..eab34797488dd6f90dd050d1f9dfc21be5eb908c 100644 |
| --- a/components/omnibox/autocomplete_provider.h |
| +++ b/components/omnibox/autocomplete_provider.h |
| @@ -197,6 +197,9 @@ class AutocompleteProvider |
| // Returns this provider's type. |
| Type type() const { return type_; } |
| + // Returns whether the provider should be used when the omnibox is focused. |
|
Peter Kasting
2014/12/30 21:18:23
Nit: How about this comment and name:
// Return
jif
2014/12/31 19:02:26
Done.
|
| + virtual bool ActivatedOnOmniboxFocus() const; |
| + |
| // Returns a string describing this provider's type. |
| const char* GetName() const; |