diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 06:00:36 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 06:00:36 +0000 |
commit | 842936a15c38e85162eda5bd992f3d1758a1fe7f (patch) | |
tree | 9b13ced3c5ec2875cdb992b1b1fdb3e531bf78b9 /chrome/renderer/render_view.h | |
parent | 1f50182afc7635811a55a47bcd8218275e7acfae (diff) | |
download | chromium_src-842936a15c38e85162eda5bd992f3d1758a1fe7f.zip chromium_src-842936a15c38e85162eda5bd992f3d1758a1fe7f.tar.gz chromium_src-842936a15c38e85162eda5bd992f3d1758a1fe7f.tar.bz2 |
Make the acknowledgement message for querying form autofill data always
be sent.
I plan to make use of this to have the RenderView hold onto a WebNode
instead of a node_id in a future CL.
R=jcampan
BUG=24595
TEST=none
Review URL: http://codereview.chromium.org/270082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index 8a5b2cc..43d1643 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -635,8 +635,7 @@ class RenderView : public RenderWidget, void OnThemeChanged(); // Notification that we have received autofill suggestion. - void OnReceivedAutofillSuggestions( - int64 node_id, + void OnQueryFormFieldAutofillAck( int request_id, const std::vector<std::wstring>& suggestions, int default_suggestions_index); @@ -874,6 +873,10 @@ class RenderView : public RenderWidget, // out of date responses. int form_field_autofill_request_id_; + // The id of the node corresponding to the last request sent for form field + // autofill. + int64 form_field_autofill_node_id_; + // We need to prevent windows from closing themselves with a window.close() // call while a blocked popup notification is being displayed. We cannot // synchronously query the Browser process. We cannot wait for the Browser |