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

Unified Diff: Source/core/html/track/VTTRegion.h

Issue 55653003: Rename TextTrackRegion/TextTrackRegionList to VTTRegion/VTTRegionList (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 7 years, 1 month 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/TextTrackRegionList.idl ('k') | Source/core/html/track/VTTRegion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/VTTRegion.h
diff --git a/Source/core/html/track/TextTrackRegion.h b/Source/core/html/track/VTTRegion.h
similarity index 92%
rename from Source/core/html/track/TextTrackRegion.h
rename to Source/core/html/track/VTTRegion.h
index f40fb39b2105fbaaea5eea366ac1698ee8205512..6f9dac5a0209352c0a48330ffc43877e6c0fcde0 100644
--- a/Source/core/html/track/TextTrackRegion.h
+++ b/Source/core/html/track/VTTRegion.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef TextTrackRegion_h
-#define TextTrackRegion_h
+#ifndef VTTRegion_h
+#define VTTRegion_h
#include "core/dom/ContextLifecycleObserver.h"
#include "core/html/track/TextTrack.h"
@@ -44,14 +44,14 @@ class ExceptionState;
class HTMLDivElement;
class TextTrackCueBox;
-class TextTrackRegion : public RefCounted<TextTrackRegion> {
+class VTTRegion : public RefCounted<VTTRegion> {
public:
- static PassRefPtr<TextTrackRegion> create()
+ static PassRefPtr<VTTRegion> create()
{
- return adoptRef(new TextTrackRegion());
+ return adoptRef(new VTTRegion());
}
- virtual ~TextTrackRegion();
+ virtual ~VTTRegion();
TextTrack* track() const { return m_track; }
void setTrack(TextTrack*);
@@ -80,7 +80,7 @@ public:
const AtomicString scroll() const;
void setScroll(const AtomicString&, ExceptionState&);
- void updateParametersFromRegion(TextTrackRegion*);
+ void updateParametersFromRegion(VTTRegion*);
const String& regionSettings() const { return m_settings; }
void setRegionSettings(const String&);
@@ -94,14 +94,14 @@ public:
void willRemoveTextTrackCueBox(TextTrackCueBox*);
private:
- TextTrackRegion();
+ VTTRegion();
void prepareRegionDisplayTree();
// The timer is needed to continue processing when cue scrolling ended.
void startTimer();
void stopTimer();
- void scrollTimerFired(Timer<TextTrackRegion>*);
+ void scrollTimerFired(Timer<VTTRegion>*);
enum RegionSetting {
None,
@@ -147,7 +147,7 @@ private:
// soon as the animation for rolling out one line has finished, but
// currently it is used also for non-scrolling regions to use a single
// code path.
- Timer<TextTrackRegion> m_scrollTimer;
+ Timer<VTTRegion> m_scrollTimer;
};
} // namespace WebCore
« no previous file with comments | « Source/core/html/track/TextTrackRegionList.idl ('k') | Source/core/html/track/VTTRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698