| Index: Source/core/html/track/VTTRegionList.h
|
| diff --git a/Source/core/html/track/TextTrackRegionList.h b/Source/core/html/track/VTTRegionList.h
|
| similarity index 73%
|
| rename from Source/core/html/track/TextTrackRegionList.h
|
| rename to Source/core/html/track/VTTRegionList.h
|
| index aa874437ce70343df8d82179ec7e03cc442e8c85..ccca8827768aa1876634b8c4cb3200b6b25421e5 100644
|
| --- a/Source/core/html/track/TextTrackRegionList.h
|
| +++ b/Source/core/html/track/VTTRegionList.h
|
| @@ -23,38 +23,38 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef TextTrackRegionList_h
|
| -#define TextTrackRegionList_h
|
| +#ifndef VTTRegionList_h
|
| +#define VTTRegionList_h
|
|
|
| -#include "core/html/track/TextTrackRegion.h"
|
| +#include "core/html/track/VTTRegion.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/Vector.h"
|
|
|
| namespace WebCore {
|
|
|
| -class TextTrackRegionList : public RefCounted<TextTrackRegionList> {
|
| +class VTTRegionList : public RefCounted<VTTRegionList> {
|
| public:
|
| - static PassRefPtr<TextTrackRegionList> create()
|
| + static PassRefPtr<VTTRegionList> create()
|
| {
|
| - return adoptRef(new TextTrackRegionList());
|
| + return adoptRef(new VTTRegionList());
|
| }
|
|
|
| - ~TextTrackRegionList() { }
|
| + ~VTTRegionList() { }
|
|
|
| unsigned long length() const;
|
|
|
| - TextTrackRegion* item(unsigned index) const;
|
| - TextTrackRegion* getRegionById(const String&) const;
|
| + VTTRegion* item(unsigned index) const;
|
| + VTTRegion* getRegionById(const String&) const;
|
|
|
| - void add(PassRefPtr<TextTrackRegion>);
|
| - bool remove(TextTrackRegion*);
|
| + void add(PassRefPtr<VTTRegion>);
|
| + bool remove(VTTRegion*);
|
|
|
| private:
|
| - TextTrackRegionList();
|
| + VTTRegionList();
|
| void clear();
|
|
|
| - Vector<RefPtr<TextTrackRegion> > m_list;
|
| + Vector<RefPtr<VTTRegion> > m_list;
|
| };
|
|
|
| } // namespace WebCore
|
|
|