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

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

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/HTMLLIElement.h ('k') | Source/core/html/HTMLLegendElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLabelElement.h
diff --git a/Source/core/html/HTMLLabelElement.h b/Source/core/html/HTMLLabelElement.h
index 490a35d5224093917271eb57338b708040ab9bcc..a9e8c412ccd6ed5ea18332cbbf843ce9a947fee3 100644
--- a/Source/core/html/HTMLLabelElement.h
+++ b/Source/core/html/HTMLLabelElement.h
@@ -38,11 +38,11 @@ public:
static PassRefPtrWillBeRawPtr<HTMLLabelElement> create(Document&, HTMLFormElement*);
LabelableElement* control() const;
- virtual bool willRespondToMouseClickEvents() override;
+ bool willRespondToMouseClickEvents() override;
DECLARE_VIRTUAL_TRACE();
- virtual HTMLFormElement* formOwner() const override;
+ HTMLFormElement* formOwner() const override;
#if !ENABLE(OILPAN)
@@ -54,33 +54,33 @@ private:
explicit HTMLLabelElement(Document&, HTMLFormElement*);
bool isInInteractiveContent(Node*) const;
- virtual bool layoutObjectIsFocusable() const override;
- virtual bool isInteractiveContent() const override;
- virtual void accessKeyAction(bool sendMouseEvents) override;
+ bool layoutObjectIsFocusable() const override;
+ bool isInteractiveContent() const override;
+ void accessKeyAction(bool sendMouseEvents) override;
- virtual void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
- virtual void removedFrom(ContainerNode*) override;
+ void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) override;
+ InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ void removedFrom(ContainerNode*) override;
// Overridden to update the hover/active state of the corresponding control.
- virtual void setActive(bool = true) override;
- virtual void setHovered(bool = true) override;
+ void setActive(bool = true) override;
+ void setHovered(bool = true) override;
// Overridden to either click() or focus() the corresponding control.
- virtual void defaultEventHandler(Event*) override;
+ void defaultEventHandler(Event*) override;
- virtual void focus(bool restorePreviousSelection, WebFocusType) override;
+ void focus(bool restorePreviousSelection, WebFocusType) override;
// FormAssociatedElement methods
- virtual bool isFormControlElement() const override { return false; }
- virtual bool isEnumeratable() const override { return false; }
- virtual bool isLabelElement() const override { return true; }
+ bool isFormControlElement() const override { return false; }
+ bool isEnumeratable() const override { return false; }
+ bool isLabelElement() const override { return true; }
#if !ENABLE(OILPAN)
- virtual void refFormAssociatedElement() override { ref(); }
- virtual void derefFormAssociatedElement() override { deref(); }
+ void refFormAssociatedElement() override { ref(); }
+ void derefFormAssociatedElement() override { deref(); }
#endif
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) override;
void updateLabel(TreeScope&, const AtomicString& oldForAttributeValue, const AtomicString& newForAttributeValue);
« no previous file with comments | « Source/core/html/HTMLLIElement.h ('k') | Source/core/html/HTMLLegendElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698