Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: components/autofill/content/renderer/autofill_agent.h

Issue 2012763003: First pass at refactoring autofill_agent to eventually incorporate Synthetic Form logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing braces :{ Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/autofill_agent.h
diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h
index aaf357670086c8b8c2ed4e2be291121a47c4a5fe..a4cdd1171efe1b0b22db795a3e82f779ac4924dc 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -127,6 +127,15 @@ class AutofillAgent : public content::RenderFrameObserver,
void FocusedNodeChanged(const blink::WebNode& node) override;
void OnDestruct() override;
+ // Fires IPC messages for a given form submission. Will always fire
+ // AutofillHostMsg_WillSubmitForm, and will also fire
+ // AutofillHostMsg_FormSubmitted if |form_submitted| is true. Respects
+ // submitted_forms_ contents to ensure no duplicate submissions of
+ // AutofillHostMsg_WillSubmitForm.
+ void FireHostSubmitEvents(const blink::WebFormElement& form,
+ bool form_submitted);
+ void FireHostSubmitEvents(const FormData& form_data, bool form_submitted);
+
// Shuts the AutofillAgent down on RenderFrame deletion. Safe to call multiple
// times.
void Shutdown();
« no previous file with comments | « no previous file | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698