Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / forms / PasswordInputType.h
index 50f3669..53ea5ac 100644 (file)
 #define PasswordInputType_h
 
 #include "core/html/forms/BaseTextInputType.h"
-#include "core/html/shadow/PasswordGeneratorButtonElement.h"
 
-namespace WebCore {
+namespace blink {
 
-class PasswordInputType FINAL : public BaseTextInputType {
+class PasswordInputType final : public BaseTextInputType {
 public:
-    static PassRefPtr<InputType> create(HTMLInputElement&);
+    static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
 
 private:
     PasswordInputType(HTMLInputElement& element) : BaseTextInputType(element) { }
-    virtual bool needsContainer() const OVERRIDE;
-    virtual void createShadowSubtree() OVERRIDE;
-    virtual void countUsage() OVERRIDE;
-    virtual const AtomicString& formControlType() const OVERRIDE;
-    virtual bool shouldSaveAndRestoreFormControlState() const OVERRIDE;
-    virtual FormControlState saveFormControlState() const OVERRIDE;
-    virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
-    virtual bool shouldUseInputMethod() const OVERRIDE;
-    virtual bool shouldResetOnDocumentActivation() OVERRIDE;
-    virtual bool shouldRespectListAttribute() OVERRIDE;
-    virtual bool shouldRespectSpeechAttribute() OVERRIDE;
-    virtual bool isPasswordField() const OVERRIDE;
-    virtual void enableSecureTextInput() OVERRIDE;
-    virtual void disableSecureTextInput() OVERRIDE;
-
-    bool isPasswordGenerationEnabled() const;
-    // For testing.
-    bool isPasswordGenerationDecorationEnabled() const;
+    virtual void countUsage() override;
+    virtual const AtomicString& formControlType() const override;
+    virtual bool shouldSaveAndRestoreFormControlState() const override;
+    virtual FormControlState saveFormControlState() const override;
+    virtual void restoreFormControlState(const FormControlState&) override;
+    virtual bool shouldRespectListAttribute() override;
+    virtual bool shouldRespectSpeechAttribute() override;
+    virtual void enableSecureTextInput() override;
+    virtual void disableSecureTextInput() override;
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // PasswordInputType_h