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

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

Issue 13264002: Requery the autofill server when forms and input fields are dynamically added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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
Index: components/autofill/renderer/autofill_agent.h
diff --git a/components/autofill/renderer/autofill_agent.h b/components/autofill/renderer/autofill_agent.h
index 12dd1b560d006d40fc6619843a8b796092f63a01..0a92475b2a9f7ac4ff52993fce483129e933d095 100644
--- a/components/autofill/renderer/autofill_agent.h
+++ b/components/autofill/renderer/autofill_agent.h
@@ -256,6 +256,9 @@ class AutofillAgent : public content::RenderViewObserver,
// Whether or not |topmost_frame_| is whitelisted for Autocheckout.
bool is_whitelisted_for_autocheckout_;
+ // Whether or not new forms/fields have been dynamical added post-document load
ahutter 2013/03/29 19:48:31 dynamically and add punctuation
Dane Wallinga 2013/03/29 21:41:12 Done.
+ bool forms_have_changed_since_load_;
+
// Whether or not to ignore text changes. Useful for when we're committing
// a composition when we are defocusing the WebView and we don't want to
// trigger an autofill popup to show.
@@ -266,6 +269,8 @@ class AutofillAgent : public content::RenderViewObserver,
base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
+ virtual void didAssociateFormControls(const WebKit::WebVector<WebKit::WebNode>& nodes) OVERRIDE;
+
friend class PasswordAutofillManagerTest;
FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, FillFormElement);
FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, SendForms);

Powered by Google App Engine
This is Rietveld 408576698