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

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

Issue 13601005: [Autofill] Give the PasswordAutofillAgent first shot at handling mouse events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase harder Created 7 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
« no previous file with comments | « no previous file | components/autofill/renderer/password_autofill_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/renderer/autofill_agent.cc
diff --git a/components/autofill/renderer/autofill_agent.cc b/components/autofill/renderer/autofill_agent.cc
index 462b1b6b8026122286cfe14177790005cc4ba037..f32896b2e8693463d7216224ca6acb9a779ae97e 100644
--- a/components/autofill/renderer/autofill_agent.cc
+++ b/components/autofill/renderer/autofill_agent.cc
@@ -802,6 +802,8 @@ void AutofillAgent::ShowSuggestions(const WebInputElement& element,
}
element_ = element;
+ if (password_autofill_agent_->ShowSuggestions(element))
+ return;
// If autocomplete is disabled at the form level, then we might want to show a
// warning in place of suggestions. However, if autocomplete is disabled
« no previous file with comments | « no previous file | components/autofill/renderer/password_autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698