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

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

Issue 1208133002: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added |match_start| usage. Created 5 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 9f070f358b8419d2cb33f3112f50cb75261f1870..66de52030f8204d8f368593cdb9dc28ce1f94b27 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -56,7 +56,8 @@ class PasswordAutofillAgent : public content::RenderFrameObserver {
// values. Returns true if the fields were previewed, false otherwise.
bool PreviewSuggestion(const blink::WebNode& node,
const blink::WebString& username,
- const blink::WebString& password);
+ const blink::WebString& password,
+ int match_start);
// Clears the preview for the username and password fields, restoring both to
// their previous filled state. Return false if no login information was

Powered by Google App Engine
This is Rietveld 408576698