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

Unified Diff: Source/core/html/track/VTTRegionList.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/VTTRegion.idl ('k') | Source/core/html/track/VTTRegionList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/html/track/VTTRegion.idl ('k') | Source/core/html/track/VTTRegionList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698