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

Unified Diff: Source/core/html/shadow/SliderThumbElement.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/shadow/ProgressShadowElement.h ('k') | Source/core/html/shadow/SpinButtonElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/SliderThumbElement.h
diff --git a/Source/core/html/shadow/SliderThumbElement.h b/Source/core/html/shadow/SliderThumbElement.h
index 58864645bd2782247d094b9b35c02207f4900896..290478861f38773a89a8f78473ed6b15dd11fc83 100644
--- a/Source/core/html/shadow/SliderThumbElement.h
+++ b/Source/core/html/shadow/SliderThumbElement.h
@@ -42,30 +42,30 @@ namespace blink {
class HTMLInputElement;
class Event;
-class SliderThumbElement FINAL : public HTMLDivElement {
+class SliderThumbElement final : public HTMLDivElement {
public:
static PassRefPtrWillBeRawPtr<SliderThumbElement> create(Document&);
void setPositionFromValue();
void dragFrom(const LayoutPoint&);
- virtual void defaultEventHandler(Event*) OVERRIDE;
- virtual bool willRespondToMouseMoveEvents() OVERRIDE;
- virtual bool willRespondToMouseClickEvents() OVERRIDE;
- virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
- virtual const AtomicString& shadowPseudoId() const OVERRIDE;
+ virtual void defaultEventHandler(Event*) override;
+ virtual bool willRespondToMouseMoveEvents() override;
+ virtual bool willRespondToMouseClickEvents() override;
+ virtual void detach(const AttachContext& = AttachContext()) override;
+ virtual const AtomicString& shadowPseudoId() const override;
HTMLInputElement* hostInput() const;
void setPositionFromPoint(const LayoutPoint&);
void stopDragging();
private:
SliderThumbElement(Document&);
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
- virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChildren() OVERRIDE;
- virtual bool isDisabledFormControl() const OVERRIDE;
- virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
- virtual bool matchesReadWritePseudoClass() const OVERRIDE;
- virtual Node* focusDelegate() OVERRIDE;
+ virtual RenderObject* createRenderer(RenderStyle*) override;
+ virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChildren() override;
+ virtual bool isDisabledFormControl() const override;
+ virtual bool matchesReadOnlyPseudoClass() const override;
+ virtual bool matchesReadWritePseudoClass() const override;
+ virtual Node* focusDelegate() override;
void startDragging();
bool m_inDragMode;
@@ -79,14 +79,14 @@ inline PassRefPtrWillBeRawPtr<Element> SliderThumbElement::cloneElementWithoutAt
// FIXME: There are no ways to check if a node is a SliderThumbElement.
DEFINE_ELEMENT_TYPE_CASTS(SliderThumbElement, isHTMLElement());
-class SliderContainerElement FINAL : public HTMLDivElement {
+class SliderContainerElement final : public HTMLDivElement {
public:
DECLARE_NODE_FACTORY(SliderContainerElement);
private:
explicit SliderContainerElement(Document&);
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
- virtual const AtomicString& shadowPseudoId() const OVERRIDE;
+ virtual RenderObject* createRenderer(RenderStyle*) override;
+ virtual const AtomicString& shadowPseudoId() const override;
};
}
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.h ('k') | Source/core/html/shadow/SpinButtonElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698