#include "public/web/WebElementCollection.h"
#include "wtf/PassRefPtr.h"
-using namespace WebCore;
-
namespace blink {
bool WebInputElement::isTextField() const
return constUnwrap<HTMLInputElement>()->isText();
}
+bool WebInputElement::isEmailField() const
+{
+ return constUnwrap<HTMLInputElement>()->isEmailField();
+}
+
bool WebInputElement::isPasswordField() const
{
return constUnwrap<HTMLInputElement>()->isPasswordField();