summaryrefslogtreecommitdiffstats
path: root/components/autofill/renderer/password_autofill_agent.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/autofill/renderer/password_autofill_agent.h')
-rw-r--r--components/autofill/renderer/password_autofill_agent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/autofill/renderer/password_autofill_agent.h b/components/autofill/renderer/password_autofill_agent.h
index 1edb581..e2955fd 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;