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

Unified Diff: Source/core/html/HTMLTextAreaElement.h

Issue 126793004: Update HTML classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/html/HTMLSummaryElement.h ('k') | Source/core/html/HTMLTextFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextAreaElement.h
diff --git a/Source/core/html/HTMLTextAreaElement.h b/Source/core/html/HTMLTextAreaElement.h
index e7f38915249415f4598f982629a74d6b25c66c6b..409eb01b55d5f4044fa4b4073b318e1fa2935d52 100644
--- a/Source/core/html/HTMLTextAreaElement.h
+++ b/Source/core/html/HTMLTextAreaElement.h
@@ -41,12 +41,12 @@ public:
bool shouldWrapText() const { return m_wrap != NoWrap; }
- virtual String value() const;
+ virtual String value() const OVERRIDE;
void setValue(const String&);
String defaultValue() const;
void setDefaultValue(const String&);
int textLength() const { return value().length(); }
- virtual int maxLength() const;
+ virtual int maxLength() const OVERRIDE;
void setMaxLength(int, ExceptionState&);
String suggestedValue() const;
@@ -77,44 +77,44 @@ private:
void setNonDirtyValue(const String&);
void setValueCommon(const String&);
- virtual bool supportsPlaceholder() const { return true; }
- virtual void updatePlaceholderText();
- virtual bool isEmptyValue() const { return value().isEmpty(); }
+ virtual bool supportsPlaceholder() const OVERRIDE { return true; }
+ virtual void updatePlaceholderText() OVERRIDE;
+ virtual bool isEmptyValue() const OVERRIDE { return value().isEmpty(); }
- virtual bool isOptionalFormControl() const { return !isRequiredFormControl(); }
- virtual bool isRequiredFormControl() const { return isRequired(); }
+ virtual bool isOptionalFormControl() const OVERRIDE { return !isRequiredFormControl(); }
+ virtual bool isRequiredFormControl() const OVERRIDE { return isRequired(); }
- virtual void defaultEventHandler(Event*);
+ virtual void defaultEventHandler(Event*) OVERRIDE;
virtual void handleFocusEvent(Element* oldFocusedNode, FocusDirection) OVERRIDE;
- virtual void subtreeHasChanged();
+ virtual void subtreeHasChanged() OVERRIDE;
- virtual bool isEnumeratable() const { return true; }
+ virtual bool isEnumeratable() const OVERRIDE { return true; }
virtual bool isInteractiveContent() const OVERRIDE;
virtual bool supportLabels() const OVERRIDE { return true; }
- virtual const AtomicString& formControlType() const;
+ virtual const AtomicString& formControlType() const OVERRIDE;
virtual FormControlState saveFormControlState() const OVERRIDE;
virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
- virtual bool isTextFormControl() const { return true; }
+ virtual bool isTextFormControl() const OVERRIDE { return true; }
- virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
+ virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
- virtual RenderObject* createRenderer(RenderStyle*);
- virtual bool appendFormData(FormDataList&, bool);
+ virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
+ virtual bool appendFormData(FormDataList&, bool) OVERRIDE;
virtual void resetImpl() OVERRIDE;
virtual bool hasCustomFocusLogic() const OVERRIDE;
virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE;
virtual bool isKeyboardFocusable() const OVERRIDE;
- virtual void updateFocusAppearance(bool restorePreviousSelection);
+ virtual void updateFocusAppearance(bool restorePreviousSelection) OVERRIDE;
- virtual void accessKeyAction(bool sendMouseEvents);
+ virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE;
- virtual bool shouldUseInputMethod();
+ virtual bool shouldUseInputMethod() OVERRIDE;
virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
virtual bool matchesReadWritePseudoClass() const OVERRIDE;
« no previous file with comments | « Source/core/html/HTMLSummaryElement.h ('k') | Source/core/html/HTMLTextFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698