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

Side by Side Diff: Source/core/html/track/vtt/VTTRegion.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 unified diff | Download patch
« no previous file with comments | « Source/core/html/track/vtt/VTTParser.h ('k') | Source/core/html/track/vtt/VTTRegionList.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 30 matching lines...) Expand all
41 #include "wtf/RefCounted.h" 41 #include "wtf/RefCounted.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class Document; 45 class Document;
46 class ExceptionState; 46 class ExceptionState;
47 class HTMLDivElement; 47 class HTMLDivElement;
48 class VTTCueBox; 48 class VTTCueBox;
49 class VTTScanner; 49 class VTTScanner;
50 50
51 class VTTRegion FINAL : public RefCountedWillBeGarbageCollectedFinalized<VTTRegi on>, public ScriptWrappable { 51 class VTTRegion final : public RefCountedWillBeGarbageCollectedFinalized<VTTRegi on>, public ScriptWrappable {
52 DEFINE_WRAPPERTYPEINFO(); 52 DEFINE_WRAPPERTYPEINFO();
53 public: 53 public:
54 static PassRefPtrWillBeRawPtr<VTTRegion> create() 54 static PassRefPtrWillBeRawPtr<VTTRegion> create()
55 { 55 {
56 return adoptRefWillBeNoop(new VTTRegion()); 56 return adoptRefWillBeNoop(new VTTRegion());
57 } 57 }
58 58
59 virtual ~VTTRegion(); 59 virtual ~VTTRegion();
60 60
61 TextTrack* track() const { return m_track; } 61 TextTrack* track() const { return m_track; }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // been displayed. It's main use is for scrolling regions and it triggers as 152 // been displayed. It's main use is for scrolling regions and it triggers as
153 // soon as the animation for rolling out one line has finished, but 153 // soon as the animation for rolling out one line has finished, but
154 // currently it is used also for non-scrolling regions to use a single 154 // currently it is used also for non-scrolling regions to use a single
155 // code path. 155 // code path.
156 Timer<VTTRegion> m_scrollTimer; 156 Timer<VTTRegion> m_scrollTimer;
157 }; 157 };
158 158
159 } // namespace blink 159 } // namespace blink
160 160
161 #endif // VTTRegion_h 161 #endif // VTTRegion_h
OLDNEW
« no previous file with comments | « Source/core/html/track/vtt/VTTParser.h ('k') | Source/core/html/track/vtt/VTTRegionList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698