diff options
Diffstat (limited to 'WebCore/html/WeekInputType.h')
-rw-r--r-- | WebCore/html/WeekInputType.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/WebCore/html/WeekInputType.h b/WebCore/html/WeekInputType.h index 7b6ee23..437164b 100644 --- a/WebCore/html/WeekInputType.h +++ b/WebCore/html/WeekInputType.h @@ -31,17 +31,25 @@ #ifndef WeekInputType_h #define WeekInputType_h -#include "TextFieldInputType.h" +#include "BaseDateAndTimeInputType.h" namespace WebCore { -class WeekInputType : public TextFieldInputType { +class WeekInputType : public BaseDateAndTimeInputType { public: static PassOwnPtr<InputType> create(HTMLInputElement*); private: - WeekInputType(HTMLInputElement* element) : TextFieldInputType(element) { } + WeekInputType(HTMLInputElement* element) : BaseDateAndTimeInputType(element) { } virtual const AtomicString& formControlType() const; + virtual double minimum() const; + virtual double maximum() const; + virtual double stepBase() const; + virtual double defaultStep() const; + virtual double stepScaleFactor() const; + virtual bool parsedStepValueShouldBeInteger() const; + virtual bool parseToDateComponentsInternal(const UChar*, unsigned length, DateComponents*) const; + virtual bool setMillisecondToDateComponents(double, DateComponents*) const; }; } // namespace WebCore |