summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/autofill/autofill_agent.h
diff options
context:
space:
mode:
authorramankk@chromium.org <ramankk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 05:37:02 +0000
committerramankk@chromium.org <ramankk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 05:37:02 +0000
commit14696913ff86cfbc533bc0db15a134c1627a2d58 (patch)
treeba5013a3d9403094c35dc49185068ffeb8812394 /chrome/renderer/autofill/autofill_agent.h
parentfc652c0df8646b9485d0bfb671b84771ef3279d1 (diff)
downloadchromium_src-14696913ff86cfbc533bc0db15a134c1627a2d58.zip
chromium_src-14696913ff86cfbc533bc0db15a134c1627a2d58.tar.gz
chromium_src-14696913ff86cfbc533bc0db15a134c1627a2d58.tar.bz2
Renderer side changes to save the user supplied data and use it to autofill in multiple page in the flow. Primarily being used by Autocheckout. This is achived by
* Saving the context of all form elements in the top most frame seen * Using filled form data from browser to fill form elements earlier seen BUG=172632 Review URL: https://chromiumcodereview.appspot.com/12087122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/autofill/autofill_agent.h')
-rw-r--r--chrome/renderer/autofill/autofill_agent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h
index 2f44289..14c098a 100644
--- a/chrome/renderer/autofill/autofill_agent.h
+++ b/chrome/renderer/autofill/autofill_agent.h
@@ -212,6 +212,9 @@ class AutofillAgent : public content::RenderViewObserver,
// The form element currently requesting an interactive autocomplete.
WebKit::WebFormElement in_flight_request_form_;
+ // All the form elements seen in the top frame.
+ std::vector<WebKit::WebFormElement> form_elements_;
+
// The action to take when receiving Autofill data from the AutofillManager.
AutofillAction autofill_action_;