Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / WebInputElement.cpp
index 36cd429..00a81ad 100644 (file)
@@ -43,8 +43,6 @@
 #include "public/web/WebElementCollection.h"
 #include "wtf/PassRefPtr.h"
 
-using namespace WebCore;
-
 namespace blink {
 
 bool WebInputElement::isTextField() const
@@ -57,6 +55,11 @@ bool WebInputElement::isText() const
     return constUnwrap<HTMLInputElement>()->isText();
 }
 
+bool WebInputElement::isEmailField() const
+{
+    return constUnwrap<HTMLInputElement>()->isEmailField();
+}
+
 bool WebInputElement::isPasswordField() const
 {
     return constUnwrap<HTMLInputElement>()->isPasswordField();