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

Unified Diff: chrome/renderer/autofill/password_autofill_manager.h

Issue 9600038: Add Password Autofill Manager to New Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Hiding renderer popup Created 8 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: 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..c45af62085e073086c400a41321207a2c84e6d95 100644
--- a/chrome/renderer/autofill/password_autofill_manager.h
+++ b/chrome/renderer/autofill/password_autofill_manager.h
@@ -50,6 +50,12 @@ 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);
+
+ // Disable the popup and never show it.
+ void DisablePopup();
+
private:
friend class PasswordAutofillManagerTest;
@@ -114,6 +120,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);

Powered by Google App Engine
This is Rietveld 408576698