Chromium Code Reviews| 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..0a4d931fc0e3e8389d74c20a5eeb96bac484131c 100644 |
| --- a/components/autofill/content/renderer/page_click_listener.h |
| +++ b/components/autofill/content/renderer/page_click_listener.h |
| @@ -6,7 +6,7 @@ |
| #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_LISTENER_H_ |
| namespace blink { |
| -class WebInputElement; |
| +class WebFormControlElement; |
| } |
| namespace autofill { |
| @@ -19,13 +19,14 @@ class PageClickListener { |
| // Notification that |element| was clicked. |
| // |was_focused| is true if |element| had focus BEFORE the click. |
| // |is_focused| is true if |element| has focus AFTER the click was processed. |
| - virtual void InputElementClicked(const blink::WebInputElement& element, |
| - 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 FormControlElementClicked( |
| + const blink::WebFormControlElement& element, |
| + bool was_focused, |
| + bool is_focused) = 0; |
| + |
| + // If the previously focused element was an input or textarea field, |
|
Ilya Sherman
2014/02/22 06:24:20
nit: "an input or textarea field" -> "an input fie
|
| + // listeners are informed that the text field has lost its focus. |
| + virtual void FormControlElementLostFocus() = 0; |
| protected: |
| virtual ~PageClickListener() {} |