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

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

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 378e3a77b6eecf59ce955e8a58bff74ff8261db3..fa817fe26727f588df7e0ab4d7372ff2c1ea5568 100644
--- a/Source/core/html/HTMLLabelElement.h
+++ b/Source/core/html/HTMLLabelElement.h
@@ -30,18 +30,18 @@
namespace blink {
-class HTMLLabelElement FINAL : public HTMLElement, public FormAssociatedElement {
+class HTMLLabelElement final : public HTMLElement, public FormAssociatedElement {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLLabelElement);
public:
static PassRefPtrWillBeRawPtr<HTMLLabelElement> create(Document&, HTMLFormElement*);
LabelableElement* control() const;
- virtual bool willRespondToMouseClickEvents() OVERRIDE;
+ virtual bool willRespondToMouseClickEvents() override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
- virtual HTMLFormElement* formOwner() const OVERRIDE;
+ virtual HTMLFormElement* formOwner() const override;
#if !ENABLE(OILPAN)
@@ -53,33 +53,33 @@ private:
explicit HTMLLabelElement(Document&, HTMLFormElement*);
bool isInInteractiveContent(Node*) const;
- virtual bool rendererIsFocusable() const OVERRIDE;
- virtual bool isInteractiveContent() const OVERRIDE;
- virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE;
+ virtual bool rendererIsFocusable() const override;
+ virtual bool isInteractiveContent() const override;
+ virtual 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;
+ virtual void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) override;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ virtual 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;
+ virtual void setActive(bool = true) override;
+ virtual void setHovered(bool = true) override;
// Overridden to either click() or focus() the corresponding control.
- virtual void defaultEventHandler(Event*) OVERRIDE;
+ virtual void defaultEventHandler(Event*) override;
- virtual void focus(bool restorePreviousSelection, FocusType) OVERRIDE;
+ virtual void focus(bool restorePreviousSelection, FocusType) override;
// FormAssociatedElement methods
- virtual bool isFormControlElement() const OVERRIDE { return false; }
- virtual bool isEnumeratable() const OVERRIDE { return false; }
- virtual bool isLabelElement() const OVERRIDE { return true; }
+ virtual bool isFormControlElement() const override { return false; }
+ virtual bool isEnumeratable() const override { return false; }
+ virtual bool isLabelElement() const override { return true; }
#if !ENABLE(OILPAN)
- virtual void refFormAssociatedElement() OVERRIDE { ref(); }
- virtual void derefFormAssociatedElement() OVERRIDE { deref(); }
+ virtual void refFormAssociatedElement() override { ref(); }
+ virtual void derefFormAssociatedElement() override { deref(); }
#endif
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
+ virtual 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