/external/chromium_org/content/public/common/ |
H A D | color_suggestion.cc | 11 ColorSuggestion::ColorSuggestion(const blink::WebColorSuggestion& suggestion) argument 12 : color(suggestion.color), 13 label(suggestion.label) {
|
/external/chromium_org/content/renderer/ |
H A D | date_time_suggestion_builder.cc | 14 const blink::WebDateTimeSuggestion& suggestion) { 16 result.value = suggestion.value; 17 result.localized_value = suggestion.localizedValue; 18 result.label = suggestion.label; 13 Build( const blink::WebDateTimeSuggestion& suggestion) argument
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebColorSuggestion.cpp | 40 WebColorSuggestion::WebColorSuggestion(const WebCore::ColorSuggestion& suggestion) argument 41 : color(static_cast<WebColor>(suggestion.color.rgb())) 42 , label(suggestion.label) 46 WebColorSuggestion& WebColorSuggestion::operator=(const WebCore::ColorSuggestion& suggestion) argument 48 color = static_cast<WebColor>(suggestion.color.rgb()); 49 label = suggestion.label;
|
H A D | WebDateTimeSuggestion.cpp | 33 WebDateTimeSuggestion::WebDateTimeSuggestion(const WebCore::DateTimeSuggestion& suggestion) argument 34 : value(suggestion.value) 35 , localizedValue(suggestion.localizedValue) 36 , label(suggestion.label) 40 WebDateTimeSuggestion& WebDateTimeSuggestion::operator=(const WebCore::DateTimeSuggestion& suggestion) argument 42 value = suggestion.value; 43 localizedValue = suggestion.localizedValue; 44 label = suggestion.label;
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
H A D | ColorPickerSimple.java | 83 public void onColorSuggestionClick(ColorSuggestion suggestion) { argument 84 mOnColorChangedListener.onColorChanged(suggestion.mColor);
|
H A D | ColorSuggestionListAdapter.java | 29 * The callback used to indicate the user has clicked on a suggestion. 34 * Called upon a click on a suggestion. 36 * @param suggestion The suggestion that was clicked. 38 void onColorSuggestionClick(ColorSuggestion suggestion); argument 49 * Sets the listener that will be notified upon a click on a suggestion. 56 * Sets up the color button to represent a color suggestion. 59 * @param index The index of the suggestion in mSuggestions. 70 ColorSuggestion suggestion = mSuggestions[index]; 74 swatch.setColor(suggestion [all...] |
/external/chromium_org/components/web_contents_delegate_android/ |
H A D | color_chooser_android.cc | 36 const content::ColorSuggestion& suggestion = suggestions[i]; local 38 env, suggestion.label); 43 suggestion.color,
|
/external/chromium_org/chrome/renderer/searchbox/ |
H A D | searchbox.h | 110 const InstantSuggestion& suggestion() const { return suggestion_; } function in class:SearchBox 127 void OnSetSuggestionToPrefetch(const InstantSuggestion& suggestion);
|
H A D | searchbox.cc | 413 void SearchBox::OnSetSuggestionToPrefetch(const InstantSuggestion& suggestion) { argument 414 suggestion_ = suggestion;
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | spelling_service_client.cc | 162 // suggestion for auto-correction. 171 // "suggestions": [{ "suggestion": "quack" }], 207 // first one because SpellCheckResult can store only one suggestion. 221 DictionaryValue* suggestion = NULL; local 223 if (!suggestions->GetDictionary(0, &suggestion) || 224 !suggestion->GetString("suggestion", &replacement)) {
|
H A D | feedback_sender_unittest.cc | 188 // Send SELECT feedback message if the user has selected a spelling suggestion. 219 // Send PENDING feedback message if the user saw the spelling suggestion, but 229 // Send IGNORE feedback message if the user saw the spelling suggestion, but 424 base::DictionaryValue* suggestion = NULL; local 425 suggestions->GetDictionary(0, &suggestion); 426 suggestion->SetString("suggestionId", "42"); 427 suggestion->SetString("timestamp", "9001");
|
H A D | feedback_sender.cc | 10 // misspelling-suggestion pair. If the spelling service identifies the same 90 // Builds suggestion info from |suggestions|. The caller owns the result. 99 base::DictionaryValue* suggestion = suggestion_it->Serialize(); local 100 suggestion->SetBoolean("isFirstInSession", is_first_feedback_batch); 101 suggestion->SetBoolean("isAutoCorrection", false); 102 list->Append(suggestion);
|
/external/chromium_org/chrome/browser/ui/search/ |
H A D | instant_search_prerenderer.cc | 84 void InstantSearchPrerenderer::Prerender(const InstantSuggestion& suggestion) { argument 88 if (last_instant_suggestion_.text == suggestion.text) 98 last_instant_suggestion_ = suggestion; 100 SetSuggestionToPrefetch(suggestion);
|
H A D | instant_controller.cc | 101 const InstantSuggestion& suggestion) { 108 SetSuggestionToPrefetch(suggestion); 115 prerenderer->Prerender(suggestion); 100 SetSuggestionToPrefetch( const InstantSuggestion& suggestion) argument
|
H A D | search_ipc_router.cc | 58 const InstantSuggestion& suggestion) { 63 suggestion)); 57 SetSuggestionToPrefetch( const InstantSuggestion& suggestion) argument
|
H A D | search_tab_helper.cc | 199 const InstantSuggestion& suggestion) { 200 ipc_router_.SetSuggestionToPrefetch(suggestion); 198 SetSuggestionToPrefetch( const InstantSuggestion& suggestion) argument
|
/external/chromium_org/content/browser/android/ |
H A D | date_time_chooser_android.cc | 94 const content::DateTimeSuggestion& suggestion = suggestions[i]; local 96 env, SanitizeSuggestionString(suggestion.localized_value)); 98 env, SanitizeSuggestionString(suggestion.label)); 101 suggestion.value, localized_value.obj(), label.obj());
|
/external/chromium/chrome/browser/autocomplete/ |
H A D | keyword_provider.cc | 462 // It's possible to change the default suggestion while not in an editing 493 const ExtensionOmniboxSuggestion& suggestion = local 497 // and subtract 1 for each subsequent suggestion from the extension. 504 suggestion.content, first_relevance - (i + 1))); 507 match->contents.assign(suggestion.description); 508 match->contents_class = suggestion.description_styles;
|
/external/chromium/chrome/browser/extensions/ |
H A D | extension_omnibox_api.cc | 46 // Returns the suggestion object set by the extension via the 118 ExtensionOmniboxSuggestion& suggestion = suggestions.suggestions[i]; local 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; local 152 kSuggestionDescription, &suggestion.description)); 158 EXTENSION_FUNCTION_VALIDATE(suggestion 238 const ExtensionOmniboxSuggestion* suggestion = local [all...] |
/external/chromium_org/chrome/browser/extensions/api/omnibox/ |
H A D | omnibox_api.cc | 63 scoped_ptr<omnibox::SuggestResult> suggestion; local 68 suggestion.reset(new omnibox::SuggestResult); 69 omnibox::SuggestResult::Populate(*dict, suggestion.get()); 71 return suggestion.Pass(); 74 // Tries to set the omnibox default suggestion; returns true on success or 79 const omnibox::DefaultSuggestResult& suggestion) { 85 scoped_ptr<base::DictionaryValue> dict = suggestion.ToValue(); 304 GetProfile(), extension_id(), params->suggestion)) { 317 const omnibox::SuggestResult &suggestion) { 319 if (suggestion 76 SetOmniboxDefaultSuggestion( Profile* profile, const std::string& extension_id, const omnibox::DefaultSuggestResult& suggestion) argument 316 StyleTypesToACMatchClassifications( const omnibox::SuggestResult &suggestion) argument [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
H A D | spelling_menu_observer_browsertest.cc | 225 void InitMenu(const char* word, const char* suggestion) { argument 230 if (suggestion) 231 params.dictionary_suggestions.push_back(ASCIIToUTF16(suggestion)); 365 // service is enabled and that there is only one suggestion. 376 // The test should see a separator, a suggestion and another separator 468 // Case #3. Misspelled word, suggestion service is on. 475 // Should have at least 2 entries. Separator, suggestion.
|
/external/chromium_org/chrome/common/extensions/ |
H A D | command.cc | 228 std::string NormalizeShortcutSuggestion(const std::string& suggestion, argument 240 return suggestion; 243 base::SplitString(suggestion, '+', &tokens);
|
/external/chromium_org/chrome/renderer/spellchecker/ |
H A D | spellcheck_unittest.cc | 1216 const char* suggestion; member in struct:__anon7203 1239 if (kTestCases[i].suggestion != NULL) 1240 suggestion_length = strlen(kTestCases[i].suggestion); 1247 ASCIIToUTF16(kTestCases[i].suggestion).c_str(), 1253 EXPECT_EQ(kTestCases[i].should_pass, result) << kTestCases[i].suggestion << 1256 // Now verify that this test case does not show up as a suggestion. 1276 suggestions.at(j).compare(ASCIIToUTF16(kTestCases[t].suggestion)); 1277 EXPECT_FALSE(compare_result == 0) << kTestCases[t].suggestion << 1341 const char* suggestion; member in struct:__anon7205 1360 EXPECT_EQ(suggestions[0], ASCIIToUTF16(kTestCases[i].suggestion)); [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | keyword_provider.cc | 411 // themselves and the suggestion of the verbatim query on an 545 // It's possible to change the default suggestion while not in an editing 578 const omnibox_api::SuggestResult& suggestion = local 582 // and subtract 1 for each subsequent suggestion from the extension. 593 UTF8ToUTF16(suggestion.content), false, first_relevance - (i + 1))); 596 match->contents.assign(UTF8ToUTF16(suggestion.description)); 598 extensions::StyleTypesToACMatchClassifications(suggestion);
|
H A D | search_provider.h | 63 // ID used in creating URLFetcher for deleting suggestion results. 74 // |query_string|; e.g. the user typed "foo" and got a search suggestion of 242 SuggestResult(const base::string16& suggestion, 254 const base::string16& suggestion() const { return suggestion_; } function in class:SearchProvider::SuggestResult 271 // The search terms to be used for this suggestion. 394 // This gets called when we have requested a suggestion deletion from the 553 // Returns an AutocompleteMatch for a navigational suggestion. 655 // that a server delete a personalized suggestion. Making this a ScopedVector
|