| Index: chrome/renderer/autofill/password_autofill_manager.h
|
| diff --git a/chrome/renderer/autofill/password_autofill_manager.h b/chrome/renderer/autofill/password_autofill_manager.h
|
| index 254571a89d06645d7f3637a39e23d908999333c4..6e1f03cba42b716d09af04d0e0c60b5a763b5a58 100644
|
| --- a/chrome/renderer/autofill/password_autofill_manager.h
|
| +++ b/chrome/renderer/autofill/password_autofill_manager.h
|
| @@ -50,6 +50,9 @@ class PasswordAutofillManager : public content::RenderViewObserver,
|
| // true when |node| is fillable by password Autofill.
|
| bool DidClearAutofillSelection(const WebKit::WebNode& node);
|
|
|
| + // For browser side Password Manager.
|
| + void HandleKeyDown(const WebKit::WebInputElement& node, int key_code);
|
| +
|
| private:
|
| friend class PasswordAutofillManagerTest;
|
|
|
| @@ -75,7 +78,8 @@ class PasswordAutofillManager : public content::RenderViewObserver,
|
| virtual bool InputElementLostFocus() OVERRIDE;
|
|
|
| // RenderView IPC handlers:
|
| - void OnFillPasswordForm(const webkit::forms::PasswordFormFillData& form_data);
|
| + void OnFillPasswordForm(const webkit::forms::PasswordFormFillData& form_data,
|
| + bool disable_popup);
|
|
|
| // Scans the given frame for password forms and sends them up to the browser.
|
| // If |only_visible| is true, only forms visible in the layout are sent.
|
| @@ -114,6 +118,9 @@ class PasswordAutofillManager : public content::RenderViewObserver,
|
| // The logins we have filled so far with their associated info.
|
| LoginToPasswordInfoMap login_to_password_info_;
|
|
|
| + // Used to disable and hide the popup.
|
| + bool disable_popup_;
|
| +
|
| base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager);
|
|
|