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

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

Issue 241193002: Password autofill: Check for user gesture switches to new Blink backend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OVERRIDE removed test enabled Created 6 years, 8 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.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index eeeb06998159b049a60b95d7c7eb097e4f24a848..626e859a5c969727ef327f2025885cd4a1bf54bc 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -416,6 +416,10 @@ void AutofillAgent::openTextDataListChooser(const WebInputElement& element) {
ShowSuggestions(element, true, false, false, true);
}
+void AutofillAgent::firstUserGestureObserved() {
+ password_autofill_agent_->FirstUserGestureObserved();
+}
+
void AutofillAgent::AcceptDataListSuggestion(
const base::string16& suggested_value) {
WebInputElement* input_element = toWebInputElement(&element_);

Powered by Google App Engine
This is Rietveld 408576698