Index: chrome/renderer/autofill/autofill_agent.cc |
diff --git a/chrome/renderer/autofill/autofill_agent.cc b/chrome/renderer/autofill/autofill_agent.cc |
index cd94919d835ba6db2ff55dca32de19f205469b79..91d3fd116325072445fbdb789fba841fd794aac0 100644 |
--- a/chrome/renderer/autofill/autofill_agent.cc |
+++ b/chrome/renderer/autofill/autofill_agent.cc |
@@ -72,6 +72,8 @@ bool AutofillAgent::OnMessageReceived(const IPC::Message& message) { |
IPC_MESSAGE_HANDLER(AutofillMsg_FormDataFilled, OnFormDataFilled) |
IPC_MESSAGE_HANDLER(AutofillMsg_FieldTypePredictionsAvailable, |
OnFieldTypePredictionsAvailable) |
+ IPC_MESSAGE_HANDLER(AutofillMsg_SelectAutofillSuggestionAtIndex, |
+ OnSelectAutofillSuggestionAtIndex) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -350,6 +352,12 @@ void AutofillAgent::OnFieldTypePredictionsAvailable( |
} |
} |
+void AutofillAgent::OnSelectAutofillSuggestionAtIndex(int listIndex) { |
+ NOTIMPLEMENTED(); |
+ // TODO(jrg): enable once changes land in WebKit |
+ // render_view()->webview()->selectAutofillSuggestionAtIndex(listIndex); |
+} |
+ |
void AutofillAgent::ShowSuggestions(const WebInputElement& element, |
bool autofill_on_empty_values, |
bool requires_caret_at_end, |