Searched refs:newRegions (Results 1 – 3 of 3) sorted by relevance
200 _mergeRegions: function(oldRegions, newRegions) argument203 for (var i = 0; i < newRegions.length; ++i)204 nodeIdSet[newRegions[i].nodeId] = true;210 while (oldRegionsIndex < oldRegions.length || newRegionsIndex < newRegions.length) {212 this._insertRegion(newRegions[newRegionsIndex]);217 if (newRegionsIndex === newRegions.length) {223 if (oldRegions[oldRegionsIndex].nodeId === newRegions[newRegionsIndex].nodeId) {224 … if (oldRegions[oldRegionsIndex].regionOverset !== newRegions[newRegionsIndex].regionOverset)225 …teRegionOverset(this._regionsTreeItem.children[regionsTreeChildIndex], newRegions[newRegionsIndex]…233 this._insertRegion(newRegions[newRegionsIndex], regionsTreeChildIndex);
129 Vector<RefPtr<VTTRegion> > newRegions; in newRegionsAvailable() local130 m_loader->getNewRegions(newRegions); in newRegionsAvailable()132 for (size_t i = 0; i < newRegions.size(); ++i) { in newRegionsAvailable()133 newRegions[i]->setTrack(this); in newRegionsAvailable()134 regions()->add(newRegions[i]); in newRegionsAvailable()
2739 Vector<AnnotatedRegionValue> newRegions; in updateAnnotatedRegions() local2740 document->renderBox()->collectAnnotatedRegions(newRegions); in updateAnnotatedRegions()2741 if (newRegions == document->annotatedRegions()) in updateAnnotatedRegions()2743 document->setAnnotatedRegions(newRegions); in updateAnnotatedRegions()