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

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

Issue 208453002: Add "previewing on hover" support for password field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update code as per Ilya's review comments after rebasing code. Created 6 years, 7 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/autofill_agent.h
diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h
index a5de5ad9aa599992b946c6f197231560a29bfaee..7ba4c87c3f86a7ca876d0a1e8191d31a0028416a 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -104,6 +104,8 @@ class AutofillAgent : public content::RenderViewObserver,
void OnAcceptDataListSuggestion(const base::string16& value);
void OnAcceptPasswordAutofillSuggestion(const base::string16& username,
const base::string16& password);
+ void OnPreviewPasswordAutofillSuggestion(const base::string16& username,
+ const base::string16& password);
Ilya Sherman 2014/05/14 23:10:58 nit: Let's name these two methods "OnFillPasswordS
ziran.sun 2014/05/15 12:36:37 Done.
// Called when interactive autocomplete finishes. |message| is printed to
// the console if non-empty.

Powered by Google App Engine
This is Rietveld 408576698