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

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

Issue 962673004: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modified to resolve bot breakages. Created 5 years, 5 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..b221c2c118995edb5fceaa4df1c4d47c98b5cc9f 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -287,9 +287,8 @@ class PasswordAutofillAgent : public content::RenderFrameObserver {
// True indicates that the password field was autofilled, false otherwise.
bool was_password_autofilled_;
- // Records original starting point of username element's selection range
- // before preview.
- int username_selection_start_;
+ // Records the username typed before preview the suggestions.
vabr (Chromium) 2015/07/09 06:17:51 nit: preview the suggestions -> suggestions previe
Pritam Nikam 2015/07/10 16:58:46 Done.
+ base::string16 username_query_prefix_;
// True indicates that all frames in a page have been rendered.
bool did_stop_loading_;

Powered by Google App Engine
This is Rietveld 408576698