| Index: components/autofill/content/renderer/password_autofill_agent.h
|
| diff --git a/components/autofill/content/renderer/password_autofill_agent.h b/components/autofill/content/renderer/password_autofill_agent.h
|
| index f814dfdfd972da509f7d46a84582768e6746591f..582f331b3d5fb15dcdb2ecf0a006b7cc661866b8 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.h
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.h
|
| @@ -53,6 +53,11 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
|
| // Called when new form controls are inserted.
|
| void OnDynamicFormsSeen(blink::WebFrame* frame);
|
|
|
| + // Called when the user first interacts with the page after a load. This is a
|
| + // signal to make autofilled values of password input elements accessible to
|
| + // JavaScript.
|
| + void FirstUserGestureObserved();
|
| +
|
| protected:
|
| virtual bool OriginCanAccessPasswordManager(
|
| const blink::WebSecurityOrigin& origin);
|
| @@ -120,7 +125,6 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
|
| const blink::WebFormElement& form) OVERRIDE;
|
| virtual void WillSubmitForm(blink::WebLocalFrame* frame,
|
| const blink::WebFormElement& form) OVERRIDE;
|
| - virtual void WillProcessUserGesture() OVERRIDE;
|
|
|
| // RenderView IPC handlers:
|
| void OnFillPasswordForm(const PasswordFormFillData& form_data);
|
|
|