| 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);
|
|
|
|
|