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

Unified Diff: Source/core/html/track/vtt/VTTCue.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/track/VideoTrackList.h ('k') | Source/core/html/track/vtt/VTTElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTCue.h
diff --git a/Source/core/html/track/vtt/VTTCue.h b/Source/core/html/track/vtt/VTTCue.h
index 23540bd0e62bd755b261873b8d1f7dec73699f3e..4d61aa61fff9afcd20a14b97c333537b8e6258f8 100644
--- a/Source/core/html/track/vtt/VTTCue.h
+++ b/Source/core/html/track/vtt/VTTCue.h
@@ -40,7 +40,7 @@ class ExecutionContext;
class VTTCue;
class VTTScanner;
-class VTTCueBox FINAL : public HTMLDivElement {
+class VTTCueBox final : public HTMLDivElement {
public:
static PassRefPtrWillBeRawPtr<VTTCueBox> create(Document& document, VTTCue* cue)
{
@@ -50,17 +50,17 @@ public:
VTTCue* getCue() const { return m_cue; }
void applyCSSProperties(const IntSize& videoSize);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
VTTCueBox(Document&, VTTCue*);
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
+ virtual RenderObject* createRenderer(RenderStyle*) override;
RawPtrWillBeMember<VTTCue> m_cue;
};
-class VTTCue FINAL : public TextTrackCue {
+class VTTCue final : public TextTrackCue {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<VTTCue> create(Document& document, double startTime, double endTime, const String& text)
@@ -99,11 +99,11 @@ public:
const String& regionId() const { return m_regionId; }
void setRegionId(const String&);
- virtual void updateDisplay(const IntSize& videoSize, HTMLDivElement& container) OVERRIDE;
+ virtual void updateDisplay(const IntSize& videoSize, HTMLDivElement& container) override;
- virtual void updateDisplayTree(double movieTime) OVERRIDE;
- virtual void removeDisplayTree() OVERRIDE;
- virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) OVERRIDE;
+ virtual void updateDisplayTree(double movieTime) override;
+ virtual void removeDisplayTree() override;
+ virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) override;
void markFutureAndPastNodes(ContainerNode*, double previousTimestamp, double movieTime);
@@ -134,13 +134,13 @@ public:
};
CueAlignment getAlignment() const { return m_cueAlignment; }
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual ExecutionContext* executionContext() const override;
#ifndef NDEBUG
- virtual String toString() const OVERRIDE;
+ virtual String toString() const override;
#endif
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
VTTCue(Document&, double startTime, double endTime, const String& text);
@@ -150,7 +150,7 @@ private:
VTTCueBox& ensureDisplayTree();
PassRefPtrWillBeRawPtr<VTTCueBox> getDisplayTree(const IntSize& videoSize);
- virtual void cueDidChange() OVERRIDE;
+ virtual void cueDidChange() override;
void createVTTNodeTree();
void copyVTTNodeToDOMTree(ContainerNode* vttNode, ContainerNode* root);
« no previous file with comments | « Source/core/html/track/VideoTrackList.h ('k') | Source/core/html/track/vtt/VTTElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698