Index: chrome/renderer/autofill/form_autofill_util.h |
diff --git a/chrome/renderer/autofill/form_autofill_util.h b/chrome/renderer/autofill/form_autofill_util.h |
index b63424f502b2d247904dc38f6327f75404d64046..bc2016e04fd8465562196bd072736e8cf271c0ca 100644 |
--- a/chrome/renderer/autofill/form_autofill_util.h |
+++ b/chrome/renderer/autofill/form_autofill_util.h |
@@ -52,6 +52,16 @@ bool IsTextInput(const WebKit::WebInputElement* element); |
// Returns true if |element| is a select element. |
bool IsSelectElement(const WebKit::WebFormControlElement& element); |
+// Returns true if |element| is a radio button element. |
+bool IsRadioButtonElement(const WebKit::WebInputElement* element); |
+ |
+// Returns true if |element| is a checkbox element |
+bool IsCheckboxElement(const WebKit::WebInputElement* element); |
+ |
+// Returns true if |element| is one of the input element that can be autofilled. |
+// {Text, Radiobutton, Checkbox} |
+bool IsAutofillableInputElement(const WebKit::WebInputElement* element); |
+ |
// Returns the form's |name| attribute if non-empty; otherwise the form's |id| |
// attribute. |
const string16 GetFormIdentifier(const WebKit::WebFormElement& form); |