Home | History | Annotate | Download | only in extensions

Lines Matching refs:suggestion

27     "Suggestion descriptionStyles must be in increasing non-overlapping order.";
29 "Suggestion descriptionStyles contains an offset longer than the"
46 // Returns the suggestion object set by the extension via the
118 ExtensionOmniboxSuggestion& suggestion = suggestions.suggestions[i];
123 kSuggestionContent, &suggestion.content));
125 kSuggestionDescription, &suggestion.description));
131 EXTENSION_FUNCTION_VALIDATE(suggestion.ReadStylesFromValue(*styles));
133 suggestion.description_styles.clear();
134 suggestion.description_styles.push_back(
148 ExtensionOmniboxSuggestion suggestion;
152 kSuggestionDescription, &suggestion.description));
158 EXTENSION_FUNCTION_VALIDATE(suggestion.ReadStylesFromValue(*styles));
160 suggestion.description_styles.clear();
161 suggestion.description_styles.push_back(
165 // Store the suggestion in the extension's runtime data.
168 suggestion);
238 const ExtensionOmniboxSuggestion* suggestion =
240 if (!suggestion)
246 string16 description = suggestion->description;
248 description_styles = suggestion->description_styles;
252 size_t placeholder(suggestion->description.find(kPlaceholderText, 0));