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

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

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, 9 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/renderer/password_autofill_agent.h
diff --git a/components/autofill/renderer/password_autofill_agent.h b/components/autofill/renderer/password_autofill_agent.h
index 1edb5814fc7ba2300929a2464a59d6f81abdc1c3..e2955fd929bb6ab8b26b53fadcb9ddaa57bf6478 100644
--- a/components/autofill/renderer/password_autofill_agent.h
+++ b/components/autofill/renderer/password_autofill_agent.h
@@ -49,6 +49,9 @@ class PasswordAutofillAgent : public content::RenderViewObserver,
// cleared when the selection changes. However, this method returns
// true when |node| is fillable by password Autofill.
bool DidClearAutofillSelection(const WebKit::WebNode& node);
+ // Shows an Autofill popup with username suggestions for |element|.
+ // Returns true if any suggestions were shown, false otherwise.
+ bool ShowSuggestions(const WebKit::WebInputElement& element);
private:
friend class PasswordAutofillAgentTest;
« no previous file with comments | « components/autofill/renderer/autofill_agent.cc ('k') | components/autofill/renderer/password_autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698