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

Unified Diff: components/autofill/content/renderer/password_autofill_agent.h

Issue 22926033: Enable password saving for dynamic password forms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test added Created 7 years, 3 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/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 5c64223d091784a3b88e342957912a1dfa42110f..bdf13b503e110354626bbd0f142ceced5f82bdaf 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -50,6 +50,9 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
// Returns true if any suggestions were shown, false otherwise.
bool ShowSuggestions(const WebKit::WebInputElement& element);
+ // Called when new form controls are inserted.
+ void OnDynamicFormsSeen(WebKit::WebFrame* frame);
+
protected:
virtual bool OriginCanAccessPasswordManager(
const WebKit::WebSecurityOrigin& origin);

Powered by Google App Engine
This is Rietveld 408576698