Searched defs:suggestions (Results 26 - 50 of 85) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DDateTimeChooser.h58 Vector<DateTimeSuggestion> suggestions; member in struct:blink::DateTimeChooserParameters
/external/chromium_org/ui/android/java/src/org/chromium/ui/
H A DColorPickerDialog.java40 * @param suggestions The list of suggestions.
45 ColorSuggestion[] suggestions) {
116 mSimpleColorPicker.init(suggestions, this);
42 ColorPickerDialog(Context context, OnColorChangedListener listener, int color, ColorSuggestion[] suggestions) argument
H A DColorSuggestionListAdapter.java43 ColorSuggestionListAdapter(Context context, ColorSuggestion[] suggestions) { argument
45 mSuggestions = suggestions;
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
H A DAutofillTest.java106 public boolean openAutofillPopupAndWaitUntilReady(final AutofillSuggestion[] suggestions) argument
111 mAutofillPopup.filterAndShow(suggestions, false);
135 AutofillSuggestion[] suggestions = createTwoAutofillSuggestionArray();
136 assertTrue(openAutofillPopupAndWaitUntilReady(suggestions));
/external/chromium_org/chrome/browser/search/suggestions/
H A Dimage_manager_impl.h19 #include "components/suggestions/image_manager.h"
20 #include "components/suggestions/proto/suggestions.pb.h"
28 namespace suggestions { namespace
47 virtual void Initialize(const SuggestionsProfile& suggestions) OVERRIDE;
168 } // namespace suggestions
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_autofill_manager_unittest.cc163 // suggestions.
170 std::vector<base::string16> suggestions; local
171 suggestions.push_back(test_username_);
186 username_field_, element_bounds, suggestions, realms);
191 suggestions[0], autofill::POPUP_ITEM_ID_PASSWORD_ENTRY);
H A Dpassword_autofill_manager.cc70 const std::vector<base::string16>& suggestions,
72 if (!autofill::IsValidString16Vector(suggestions) ||
74 suggestions.size() != realms.size())
79 if (suggestions.empty()) {
84 std::vector<base::string16> empty(suggestions.size());
85 std::vector<int> password_ids(suggestions.size(),
89 suggestions,
67 OnShowPasswordSuggestions( const autofill::FormFieldData& field, const gfx::RectF& bounds, const std::vector<base::string16>& suggestions, const std::vector<base::string16>& realms) argument
/external/chromium_org/components/suggestions/
H A Dblacklist_store.cc5 #include "components/suggestions/blacklist_store.h"
14 #include "components/suggestions/suggestions_pref_names.h"
16 namespace suggestions { namespace
112 // Populate the filtered suggestions.
115 if (blacklist_set.find(profile->suggestions(i).url()) ==
175 } // namespace suggestions
H A Dblacklist_store_unittest.cc5 #include "components/suggestions/blacklist_store.h"
14 #include "components/suggestions/proto/suggestions.pb.h"
19 namespace suggestions { namespace
29 SuggestionsProfile suggestions; local
32 ChromeSuggestion* suggestion = suggestions.add_suggestions();
35 return suggestions;
42 EXPECT_EQ(expected.suggestions(i).url(), actual.suggestions(i).url());
43 EXPECT_EQ(expected.suggestions(
84 SuggestionsProfile suggestions; local
[all...]
H A Dsuggestions_service.h20 #include "components/suggestions/image_manager.h"
21 #include "components/suggestions/proto/suggestions.pb.h"
22 #include "components/suggestions/suggestions_utils.h"
35 namespace suggestions { namespace
50 // An interface to fetch server suggestions asynchronously.
68 // Request suggestions data, which will be passed to |callback|. |sync_state|
72 // (see suggestions::GetSyncState). Callers should call this function again if
101 // Sets default timestamp for suggestions which do not have expiry timestamp.
102 void SetDefaultExpiryTimestamp(SuggestionsProfile* suggestions,
[all...]
H A Dsuggestions_store_unittest.cc5 #include "components/suggestions/suggestions_store.h"
9 #include "components/suggestions/proto/suggestions.pb.h"
14 namespace suggestions { namespace
22 void AddSuggestion(SuggestionsProfile* suggestions, const char *title, argument
24 ChromeSuggestion* suggestion = suggestions->add_suggestions();
31 SuggestionsProfile suggestions; local
32 ChromeSuggestion* suggestion = suggestions.add_suggestions();
35 return suggestions;
46 SuggestionsProfile suggestions; local
91 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 0); local
102 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 3); local
113 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 3); local
127 const SuggestionsProfile suggestions = CreateTestSuggestions(); local
[all...]
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/
H A DColorChooserAndroid.java26 Context context, int initialColor, ColorSuggestion[] suggestions) {
36 mDialog = new ColorPickerDialog(context, listener, initialColor, suggestions);
53 ColorSuggestion[] suggestions) {
55 contentViewCore.getContext(), initialColor, suggestions);
25 ColorChooserAndroid(long nativeColorChooserAndroid, Context context, int initialColor, ColorSuggestion[] suggestions) argument
49 createColorChooserAndroid( long nativeColorChooserAndroid, ContentViewCore contentViewCore, int initialColor, ColorSuggestion[] suggestions) argument
/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_spell_check.cc126 blink::WebVector<blink::WebString>* suggestions) {
128 Append(suggestions, blink::WebString::fromUTF8("welcome"));
130 Append(suggestions, blink::WebString::fromUTF8("uppercase"));
132 Append(suggestions, blink::WebString::fromUTF8("Hello"));
134 Append(suggestions, blink::WebString::fromUTF8("world"));
124 FillSuggestionList( const blink::WebString& word, blink::WebVector<blink::WebString>* suggestions) argument
H A Dspell_check_client.cc122 blink::WebVector<blink::WebString> suggestions; local
125 &suggestions); local
130 suggestions.isEmpty() ? blink::WebString() : suggestions[0]));
/external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/
H A DAutofillPopup.java28 * The Autofill suggestion popup that lists relevant suggestions.
34 * The constant used to specify a separator in a list of Autofill suggestions.
77 * Filters the Autofill suggestions to the ones that we support and shows the popup.
78 * @param suggestions Autofill suggestion data.
81 public void filterAndShow(AutofillSuggestion[] suggestions, boolean isRtl) { argument
82 mSuggestions = new ArrayList<AutofillSuggestion>(Arrays.asList(suggestions));
86 for (int i = 0; i < suggestions.length; i++) {
87 int itemId = suggestions[i].getSuggestionId();
91 cleanedData.add(suggestions[i]);
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwAutofillClient.java43 boolean isRtl, AutofillSuggestion[] suggestions) {
61 mAutofillPopup.filterAndShow(suggestions, isRtl);
42 showAutofillPopup(float x, float y, float width, float height, boolean isRtl, AutofillSuggestion[] suggestions) argument
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/
H A DAutofillPopupBridge.java72 * Shows an Autofill popup with specified suggestions.
73 * @param suggestions Autofill suggestions to be displayed.
76 private void show(AutofillSuggestion[] suggestions, boolean isRtl) { argument
77 if (mAutofillPopup != null) mAutofillPopup.filterAndShow(suggestions, isRtl);
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/
H A DSuggestionPopup.java32 * Displays suggestions for the text that is entered to the ChromeShell URL field.
49 * Initializes a suggestion popup that will track urlField value and display suggestions based
96 * Signals the autocomplete controller to stop generating suggestions and
124 public void onSuggestionsReceived(List<OmniboxSuggestion> suggestions, argument
126 if (!mUrlField.isFocused() || suggestions.isEmpty())
128 mSuggestionsPopupItemsCount = suggestions.size();
143 new SuggestionArrayAdapter(mContext, R.layout.dropdown_item, suggestions,
/external/chromium_org/chrome/browser/autocomplete/
H A Dkeyword_extensions_delegate_impl.cc30 // Extension suggestions always come from the original profile, since that's
32 // suggestions are meant for us.
82 // suggestions from last time. We need to readjust the relevance to
154 const omnibox_api::SendSuggestions::Params& suggestions = local
157 if (suggestions.request_id != current_input_id_)
167 // TODO(mpcomplete): consider clamping the number of suggestions to
169 for (size_t i = 0; i < suggestions.suggest_results.size(); ++i) {
171 *suggestions.suggest_results[i];
172 // We want to order these suggestions in descending order, so start with
/external/chromium_org/chrome/browser/spellchecker/
H A Dspelling_service_client.cc31 // The location of spellcheck suggestions in JSON response from spelling
148 // suggestions. This object consists of the following variables:
151 // - suggestions (array of string) - the suggestions for the misspelling
163 // "suggestions": [{ "suggestion": "quack" }],
198 // the Spelling service sends two or more suggestions, we read only the
206 base::ListValue* suggestions = NULL; local
209 !misspelling->GetList("suggestions", &suggestions)) {
215 if (!suggestions
[all...]
/external/chromium_org/components/autofill/core/browser/
H A Dautocomplete_history_manager.cc22 // Limit on the number of suggestions to appear in the pop-up menu under an
76 std::vector<base::string16> suggestions = autofill_result->GetValue(); local
77 SendSuggestions(&suggestions);
162 const std::vector<base::string16>* suggestions) {
163 if (suggestions) {
165 for (size_t i = 0; i < suggestions->size(); ++i) {
169 if (autofill_values_[j] == (*suggestions)[i]) {
176 autofill_values_.push_back((*suggestions)[i]);
161 SendSuggestions( const std::vector<base::string16>* suggestions) argument
/external/chromium_org/content/browser/android/
H A Ddate_time_chooser_android.cc83 const std::vector<DateTimeSuggestion>& suggestions) {
89 if (suggestions.size() > 0) {
92 suggestions.size());
93 for (size_t i = 0; i < suggestions.size(); ++i) {
94 const content::DateTimeSuggestion& suggestion = suggestions[i];
75 ShowDialog( ContentViewCore* content, RenderViewHost* host, ui::TextInputType dialog_type, double dialog_value, double min, double max, double step, const std::vector<DateTimeSuggestion>& suggestions) argument
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
H A DDateTimeChooserAndroid.java44 DateTimeSuggestion[] suggestions) {
45 mInputDialogContainer.showDialog(dialogType, dialogValue, min, max, step, suggestions);
54 DateTimeSuggestion[] suggestions) {
59 chooser.showDialog(dialogType, dialogValue, min, max, step, suggestions);
42 showDialog(int dialogType, double dialogValue, double min, double max, double step, DateTimeSuggestion[] suggestions) argument
49 createDateTimeChooser( ContentViewCore contentViewCore, long nativeDateTimeChooserAndroid, int dialogType, double dialogValue, double min, double max, double step, DateTimeSuggestion[] suggestions) argument
/external/chromium_org/third_party/WebKit/Source/web/
H A DColorChooserPopupUIController.cpp88 Vector<ColorSuggestion> suggestions = m_client->suggestions(); local
90 for (unsigned i = 0; i < suggestions.size(); i++)
91 suggestionValues.append(suggestions[i].color.serialized());
/external/chromium_org/chrome/browser/extensions/
H A Dextension_view_host.cc213 const std::vector<content::ColorSuggestion>& suggestions) {
210 OpenColorChooser( WebContents* web_contents, SkColor initial_color, const std::vector<content::ColorSuggestion>& suggestions) argument

Completed in 395 milliseconds

1234