| Index: chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| diff --git a/chrome/browser/extensions/api/omnibox/omnibox_api.h b/chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| index 5c05302d739b94e3507a6b67cd8c04236b2839aa..4fd392c3d404946f0a0ef2ecf9d1a3a512bd075f 100644
|
| --- a/chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| +++ b/chrome/browser/extensions/api/omnibox/omnibox_api.h
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
|
| #include "chrome/browser/extensions/extension_function.h"
|
| #include "chrome/browser/extensions/extension_icon_manager.h"
|
| +#include "chrome/common/extensions/api/omnibox.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
|
|
| @@ -151,6 +152,11 @@ struct ExtensionOmniboxSuggestion {
|
| // default suggestions.
|
| bool Populate(const base::DictionaryValue& value, bool require_content);
|
|
|
| + // Populate a suggestion value from a Suggestion generated by the JSON schema
|
| + // compiler (which will only set the description).
|
| + bool PopulateFromDefaultSuggestion(
|
| + const api::omnibox::SetDefaultSuggestion::Params::Suggestion& suggestion);
|
| +
|
| // Converts a list of style ranges from the extension into the format expected
|
| // by the autocomplete system.
|
| bool ReadStylesFromValue(const base::ListValue& value);
|
|
|