OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual String serialize(const Decimal&) const OVERRIDE; | 52 virtual String serialize(const Decimal&) const OVERRIDE; |
53 String serializeWithComponents(const DateComponents&) const; | 53 String serializeWithComponents(const DateComponents&) const; |
54 virtual bool setMillisecondToDateComponents(double, DateComponents*) const =
0; | 54 virtual bool setMillisecondToDateComponents(double, DateComponents*) const =
0; |
55 virtual String visibleValue() const OVERRIDE; | 55 virtual String visibleValue() const OVERRIDE; |
56 | 56 |
57 private: | 57 private: |
58 virtual bool parseToDateComponentsInternal(const String&, DateComponents*) c
onst = 0; | 58 virtual bool parseToDateComponentsInternal(const String&, DateComponents*) c
onst = 0; |
59 virtual double valueAsDate() const OVERRIDE; | 59 virtual double valueAsDate() const OVERRIDE; |
60 virtual void setValueAsDate(double, ExceptionState&) const OVERRIDE; | 60 virtual void setValueAsDate(double, ExceptionState&) const OVERRIDE; |
61 virtual double valueAsDouble() const OVERRIDE; | 61 virtual double valueAsDouble() const OVERRIDE; |
62 virtual void setValueAsDecimal(const Decimal&, TextFieldEventBehavior, Excep
tionState&) const OVERRIDE; | 62 virtual void setValueAsDouble(double, TextFieldEventBehavior, ExceptionState
&) const OVERRIDE; |
63 virtual bool typeMismatchFor(const String&) const OVERRIDE; | 63 virtual bool typeMismatchFor(const String&) const OVERRIDE; |
64 virtual bool typeMismatch() const OVERRIDE; | 64 virtual bool typeMismatch() const OVERRIDE; |
65 virtual bool valueMissing(const String&) const OVERRIDE; | 65 virtual bool valueMissing(const String&) const OVERRIDE; |
66 virtual String rangeOverflowText(const Decimal& maximum) const OVERRIDE; | 66 virtual String rangeOverflowText(const Decimal& maximum) const OVERRIDE; |
67 virtual String rangeUnderflowText(const Decimal& minimum) const OVERRIDE; | 67 virtual String rangeUnderflowText(const Decimal& minimum) const OVERRIDE; |
68 virtual Decimal defaultValueForStepUp() const OVERRIDE; | 68 virtual Decimal defaultValueForStepUp() const OVERRIDE; |
69 virtual bool isSteppable() const OVERRIDE; | 69 virtual bool isSteppable() const OVERRIDE; |
70 virtual String serializeWithMilliseconds(double) const; | 70 virtual String serializeWithMilliseconds(double) const; |
71 virtual String localizeValue(const String&) const OVERRIDE; | 71 virtual String localizeValue(const String&) const OVERRIDE; |
72 virtual bool supportsReadOnly() const OVERRIDE; | 72 virtual bool supportsReadOnly() const OVERRIDE; |
73 virtual bool shouldRespectListAttribute() OVERRIDE; | 73 virtual bool shouldRespectListAttribute() OVERRIDE; |
74 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; | 74 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; |
75 }; | 75 }; |
76 | 76 |
77 } // namespace WebCore | 77 } // namespace WebCore |
78 #endif // BaseDateAndTimeInputType_h | 78 #endif // BaseDateAndTimeInputType_h |
OLD | NEW |