| 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..d5a607b4e7386d9035b896810c8ea4019231629d 100644
|
| --- a/components/autofill/renderer/autofill_agent.h
|
| +++ b/components/autofill/renderer/autofill_agent.h
|
| @@ -256,6 +256,10 @@ 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 dynamically added
|
| + // post-document load.
|
| + 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,9 +270,12 @@ 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);
|
| + FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, SendDynamicForms);
|
| FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, ShowAutofillWarning);
|
| FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername);
|
| FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept);
|
|
|