diff options
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r-- | chrome/renderer/render_view.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 66a5092..bac75d8 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -1669,7 +1669,7 @@ void RenderView::QueryFormFieldAutofill(const std::wstring& field_name, void RenderView::OnReceivedAutofillSuggestions( int64 node_id, int request_id, - const std::vector<std::wstring> suggestions, + const std::vector<std::wstring>& suggestions, int default_suggestion_index) { if (!webview() || request_id != form_field_autofill_request_id_) return; @@ -2299,6 +2299,11 @@ void RenderView::OnPasswordFormsSeen(WebView* webview, Send(new ViewHostMsg_PasswordFormsSeen(routing_id_, forms)); } +void RenderView::OnAutofillFormSubmitted(WebView* webview, + const AutofillForm& form) { + Send(new ViewHostMsg_AutofillFormSubmitted(routing_id_, form)); +} + WebHistoryItem* RenderView::GetHistoryEntryAtOffset(int offset) { // Our history list is kept in the browser process on the UI thread. Since // we can't make a sync IPC call to that thread without risking deadlock, |