Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: Source/core/html/forms/BaseDateAndTimeInputType.h

Issue 934163004: Modernize coding style in core/html/forms/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/forms/BaseDateAndTimeInputType.h
diff --git a/Source/core/html/forms/BaseDateAndTimeInputType.h b/Source/core/html/forms/BaseDateAndTimeInputType.h
index de28ea96d6004a18a6a99f3d8aa13579ee63e9a9..e882ab7021bfaa598e48c48cd1d38f77d9612ef9 100644
--- a/Source/core/html/forms/BaseDateAndTimeInputType.h
+++ b/Source/core/html/forms/BaseDateAndTimeInputType.h
@@ -42,36 +42,36 @@ class ExceptionState;
class BaseDateAndTimeInputType : public InputType {
protected:
BaseDateAndTimeInputType(HTMLInputElement& element) : InputType(element) { }
- virtual Decimal parseToNumber(const String&, const Decimal&) const override;
+ Decimal parseToNumber(const String&, const Decimal&) const override;
// Parses the specified string for this InputType, and returns true if it
// is successfully parsed. An instance pointed by the DateComponents*
// parameter will have parsed values and be modified even if the parsing
// fails. The DateComponents* parameter may be 0.
bool parseToDateComponents(const String&, DateComponents*) const;
- virtual String sanitizeValue(const String&) const override;
- virtual String serialize(const Decimal&) const override;
+ String sanitizeValue(const String&) const override;
+ String serialize(const Decimal&) const override;
String serializeWithComponents(const DateComponents&) const;
virtual bool setMillisecondToDateComponents(double, DateComponents*) const = 0;
- virtual String visibleValue() const override;
+ String visibleValue() const override;
private:
virtual bool parseToDateComponentsInternal(const String&, DateComponents*) const = 0;
- virtual double valueAsDate() const override;
- virtual void setValueAsDate(double, ExceptionState&) const override;
- virtual double valueAsDouble() const override;
- virtual void setValueAsDouble(double, TextFieldEventBehavior, ExceptionState&) const override;
- virtual bool typeMismatchFor(const String&) const override;
- virtual bool typeMismatch() const override;
- virtual bool valueMissing(const String&) const override;
- virtual String rangeOverflowText(const Decimal& maximum) const override;
- virtual String rangeUnderflowText(const Decimal& minimum) const override;
- virtual Decimal defaultValueForStepUp() const override;
- virtual bool isSteppable() const override;
+ double valueAsDate() const override;
+ void setValueAsDate(double, ExceptionState&) const override;
+ double valueAsDouble() const override;
+ void setValueAsDouble(double, TextFieldEventBehavior, ExceptionState&) const override;
+ bool typeMismatchFor(const String&) const override;
+ bool typeMismatch() const override;
+ bool valueMissing(const String&) const override;
+ String rangeOverflowText(const Decimal& maximum) const override;
+ String rangeUnderflowText(const Decimal& minimum) const override;
+ Decimal defaultValueForStepUp() const override;
+ bool isSteppable() const override;
virtual String serializeWithMilliseconds(double) const;
- virtual String localizeValue(const String&) const override;
- virtual bool supportsReadOnly() const override;
- virtual bool shouldRespectListAttribute() override;
- virtual bool shouldShowFocusRingOnMouseFocus() const override;
+ String localizeValue(const String&) const override;
+ bool supportsReadOnly() const override;
+ bool shouldRespectListAttribute() override;
+ bool shouldShowFocusRingOnMouseFocus() const override;
};
} // namespace blink
« no previous file with comments | « Source/core/html/forms/BaseClickableWithKeyInputType.h ('k') | Source/core/html/forms/BaseDateAndTimeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698