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

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

Issue 2035143002: Basic implementation of showing password fill dialog on page load (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Cleanup and tests Created 4 years, 6 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 5d430e0b830ff048bab52bf2bbcce994f1e925ee..04dea679f3f7fbe46e83dad65f68122d22c4f73a 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -85,6 +85,12 @@ class PasswordAutofillAgent : public content::RenderFrameObserver {
// JavaScript.
void FirstUserGestureObserved();
+ void GetFillableElementFromFormData(
vabr (Chromium) 2016/06/10 14:19:51 nit: Please add a comment explaining the effect of
jww 2016/06/10 23:06:54 Done. I've also refactored the code for this a bit
vabr (Chromium) 2016/06/13 08:46:41 Acknowledged, that sounds like an improvement to m
+ int key,
+ const PasswordFormFillData& form_data,
+ bool should_fill_forms,
+ std::vector<blink::WebInputElement>* elements);
+
protected:
virtual bool OriginCanAccessPasswordManager(
const blink::WebSecurityOrigin& origin);

Powered by Google App Engine
This is Rietveld 408576698