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

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: nits fixed 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 b44ca626d73b211d310d6158dee6a4b0d78a9809..a389ed2fae6e892fa67b794943690132c647bdaf 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