diff options
author | petersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-08 02:13:09 +0000 |
---|---|---|
committer | petersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-08 02:13:09 +0000 |
commit | d893ab9643e5284db08087bc7514f59e37d6b319 (patch) | |
tree | 862077a3e8acbb010157f8c3bdd45e95d7e40ecb /chrome/renderer/render_view.cc | |
parent | bab654788c013d4cdf3900fc43927e159362b5ed (diff) | |
download | chromium_src-d893ab9643e5284db08087bc7514f59e37d6b319.zip chromium_src-d893ab9643e5284db08087bc7514f59e37d6b319.tar.gz chromium_src-d893ab9643e5284db08087bc7514f59e37d6b319.tar.bz2 |
Entries in a form get recorded when the user submits the form. Database and pop-up menu talk to each other. Pop-up menu appears containing suggestions.
Review URL: http://codereview.chromium.org/9462
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5058 0039d316-1c4b-4281-b951-d872f2087c98
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 cbae9d0..c0d4c55 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -1681,7 +1681,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; @@ -2311,6 +2311,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, |