diff options
Diffstat (limited to 'chrome/renderer/autofill/autofill_agent.cc')
-rw-r--r-- | chrome/renderer/autofill/autofill_agent.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/renderer/autofill/autofill_agent.cc b/chrome/renderer/autofill/autofill_agent.cc index ab4c061..5418dca 100644 --- a/chrome/renderer/autofill/autofill_agent.cc +++ b/chrome/renderer/autofill/autofill_agent.cc @@ -20,7 +20,6 @@ #include "ui/base/keycodes/keyboard_codes.h" #include "ui/base/l10n/l10n_util.h" #include "webkit/glue/form_data.h" -#include "webkit/glue/form_data_predictions.h" #include "webkit/glue/form_field.h" #include "webkit/glue/password_form.h" @@ -32,7 +31,6 @@ using WebKit::WebKeyboardEvent; using WebKit::WebNode; using WebKit::WebString; using webkit_glue::FormData; -using webkit_glue::FormDataPredictions; namespace { @@ -66,8 +64,6 @@ bool AutofillAgent::OnMessageReceived(const IPC::Message& message) { IPC_BEGIN_MESSAGE_MAP(AutofillAgent, message) IPC_MESSAGE_HANDLER(AutofillMsg_SuggestionsReturned, OnSuggestionsReturned) IPC_MESSAGE_HANDLER(AutofillMsg_FormDataFilled, OnFormDataFilled) - IPC_MESSAGE_HANDLER(AutofillMsg_FieldTypePredictionsAvailable, - OnFieldTypePredictionsAvailable) IPC_MESSAGE_UNHANDLED(handled = false) IPC_END_MESSAGE_MAP() return handled; @@ -309,13 +305,6 @@ void AutofillAgent::OnFormDataFilled(int query_id, Send(new AutofillHostMsg_DidFillAutofillFormData(routing_id())); } -void AutofillAgent::OnFieldTypePredictionsAvailable( - const std::vector<FormDataPredictions>& forms) { - for (size_t i = 0; i < forms.size(); ++i) { - form_manager_.ShowPredictions(forms[i]); - } -} - void AutofillAgent::ShowSuggestions(const WebInputElement& element, bool autofill_on_empty_values, bool requires_caret_at_end, |