Merge Chromium at r66597: Initial merge by git.
Change-Id: I9639f8a997f90ec219573aa22a49f5dbde78cc7b
diff --git a/chrome/browser/extensions/extension_omnibox_api.h b/chrome/browser/extensions/extension_omnibox_api.h
index 9d0dc99..7c4d44c 100644
--- a/chrome/browser/extensions/extension_omnibox_api.h
+++ b/chrome/browser/extensions/extension_omnibox_api.h
@@ -42,13 +42,17 @@
class OmniboxSendSuggestionsFunction : public SyncExtensionFunction {
public:
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.omnibox.sendSuggestions");
+ DECLARE_EXTENSION_FUNCTION_NAME("omnibox.sendSuggestions");
};
struct ExtensionOmniboxSuggestion {
ExtensionOmniboxSuggestion();
~ExtensionOmniboxSuggestion();
+ // Converts a list of style ranges from the extension into the format expected
+ // by the autocomplete system.
+ bool ReadStylesFromValue(const ListValue& value);
+
// The text that gets put in the edit box.
string16 content;