Index: components/autofill/content/renderer/page_click_listener.h |
diff --git a/components/autofill/content/renderer/page_click_listener.h b/components/autofill/content/renderer/page_click_listener.h |
index 1fc7862fe9e29796e6b547483345928494d50b4a..00936629a89c17da58f013f94b07344cee7b2c0a 100644 |
--- a/components/autofill/content/renderer/page_click_listener.h |
+++ b/components/autofill/content/renderer/page_click_listener.h |
@@ -7,6 +7,7 @@ |
namespace blink { |
class WebInputElement; |
+class WebTextAreaElement; |
} |
namespace autofill { |
@@ -23,9 +24,13 @@ class PageClickListener { |
bool was_focused, |
bool is_focused) = 0; |
- // If the previously focused element was an input field, listeners are |
- // informed that the text field has lost its focus. |
- virtual void InputElementLostFocus() = 0; |
+ virtual void TextAreaElementClicked(const blink::WebTextAreaElement& element, |
+ bool was_focused, |
+ bool is_focused) = 0; |
+ |
+ // If the previously focused element was an input or textarea field, |
+ // listeners are informed that the text field has lost its focus. |
+ virtual void FormControlElementLostFocus() = 0; |
protected: |
virtual ~PageClickListener() {} |