rects 597 Source/core/dom/Node.cpp Vector<IntRect> rects; rects 599 Source/core/dom/Node.cpp renderer()->absoluteRects(rects, flooredLayoutPoint(absPos)); rects 600 Source/core/dom/Node.cpp size_t n = rects.size(); rects 602 Source/core/dom/Node.cpp if (!rects[i].isEmpty()) rects 1506 Source/core/dom/Range.cpp Vector<IntRect> rects; rects 1507 Source/core/dom/Range.cpp textRects(rects); rects 1508 Source/core/dom/Range.cpp const size_t n = rects.size(); rects 1510 Source/core/dom/Range.cpp result.unite(rects[i]); rects 1514 Source/core/dom/Range.cpp void Range::textRects(Vector<IntRect>& rects, bool useSelectionHeight, RangeInFixedPosition* inFixed) const rects 1537 Source/core/dom/Range.cpp renderText->absoluteRectsForRange(rects, startOffset, endOffset, useSelectionHeight, &isFixed); rects 1493 Source/core/frame/FrameView.cpp Vector<IntRect> subRectsToUpdate = regionToUpdate.rects(); rects 206 Source/core/page/Page.cpp Vector<IntRect> rects; rects 208 Source/core/page/Page.cpp rects = scrollingCoordinator->computeShouldHandleScrollGestureOnMainThreadRegion(frame, IntPoint()).rects(); rects 210 Source/core/page/Page.cpp Vector<FloatQuad> quads(rects.size()); rects 211 Source/core/page/Page.cpp for (size_t i = 0; i < rects.size(); ++i) rects 212 Source/core/page/Page.cpp quads[i] = FloatRect(rects[i]); rects 116 Source/core/page/scrolling/ScrollingCoordinator.cpp Vector<IntRect> rects = region.rects(); rects 117 Source/core/page/scrolling/ScrollingCoordinator.cpp WebVector<WebRect> webRects(rects.size()); rects 118 Source/core/page/scrolling/ScrollingCoordinator.cpp for (size_t i = 0; i < rects.size(); ++i) rects 119 Source/core/page/scrolling/ScrollingCoordinator.cpp webRects[i] = rects[i]; rects 728 Source/core/page/scrolling/ScrollingCoordinator.cpp static void accumulateDocumentTouchEventTargetRects(LayerHitTestRects& rects, const Document* document) rects 744 Source/core/page/scrolling/ScrollingCoordinator.cpp renderer->computeLayerHitTestRects(rects); rects 757 Source/core/page/scrolling/ScrollingCoordinator.cpp accumulateDocumentTouchEventTargetRects(rects, toDocument(target)); rects 780 Source/core/page/scrolling/ScrollingCoordinator.cpp enclosingNonCompositedScrollLayer->computeSelfHitTestRects(rects); rects 782 Source/core/page/scrolling/ScrollingCoordinator.cpp renderer->computeLayerHitTestRects(rects); rects 789 Source/core/page/scrolling/ScrollingCoordinator.cpp void ScrollingCoordinator::computeTouchEventTargetRects(LayerHitTestRects& rects) rects 798 Source/core/page/scrolling/ScrollingCoordinator.cpp accumulateDocumentTouchEventTargetRects(rects, document); rects 4481 Source/core/rendering/RenderBlock.cpp void RenderBlock::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const rects 4489 Source/core/rendering/RenderBlock.cpp rects.append(pixelSnappedIntRect(accumulatedOffset.x(), accumulatedOffset.y() - collapsedMarginBefore(), rects 4491 Source/core/rendering/RenderBlock.cpp continuation()->absoluteRects(rects, accumulatedOffset - toLayoutSize(location() + rects 4494 Source/core/rendering/RenderBlock.cpp rects.append(pixelSnappedIntRect(accumulatedOffset, size())); rects 4590 Source/core/rendering/RenderBlock.cpp void RenderBlock::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer) rects 4606 Source/core/rendering/RenderBlock.cpp rects.append(pixelSnappedIntRect(rect)); rects 4608 Source/core/rendering/RenderBlock.cpp rects.append(pixelSnappedIntRect(additionalOffset, size())); rects 4616 Source/core/rendering/RenderBlock.cpp rects.append(pixelSnappedIntRect(rect)); rects 4628 Source/core/rendering/RenderBlock.cpp box->addFocusRingRects(rects, flooredLayoutPoint(pos), paintContainer); rects 4634 Source/core/rendering/RenderBlock.cpp inlineElementContinuation()->addFocusRingRects(rects, flooredLayoutPoint(additionalOffset + inlineElementContinuation()->containingBlock()->location() - location()), paintContainer); rects 4637 Source/core/rendering/RenderBlock.cpp void RenderBlock::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) const rects 4639 Source/core/rendering/RenderBlock.cpp RenderBox::computeSelfHitTestRects(rects, layerOffset); rects 4647 Source/core/rendering/RenderBlock.cpp if (!rect.isEmpty() && (rects.isEmpty() || !rects[0].contains(rect))) rects 4648 Source/core/rendering/RenderBlock.cpp rects.append(rect); rects 531 Source/core/rendering/RenderBox.cpp void RenderBox::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const rects 533 Source/core/rendering/RenderBox.cpp rects.append(pixelSnappedIntRect(accumulatedOffset, size())); rects 593 Source/core/rendering/RenderBox.cpp void RenderBox::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& additionalOffset, const RenderLayerModelObject*) rects 596 Source/core/rendering/RenderBox.cpp rects.append(pixelSnappedIntRect(additionalOffset, size())); rects 613 Source/core/rendering/RenderBox.cpp void RenderBox::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) const rects 616 Source/core/rendering/RenderBox.cpp rects.append(LayoutRect(layerOffset, size())); rects 2608 Source/core/rendering/RenderBoxModelObject.cpp void RenderBoxModelObject::computeLayerHitTestRects(LayerHitTestRects& rects) const rects 2610 Source/core/rendering/RenderBoxModelObject.cpp RenderLayerModelObject::computeLayerHitTestRects(rects); rects 2617 Source/core/rendering/RenderBoxModelObject.cpp continuation()->computeLayerHitTestRects(rects); rects 610 Source/core/rendering/RenderInline.cpp AbsoluteRectsGeneratorContext(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) rects 611 Source/core/rendering/RenderInline.cpp : m_rects(rects) rects 627 Source/core/rendering/RenderInline.cpp void RenderInline::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const rects 629 Source/core/rendering/RenderInline.cpp AbsoluteRectsGeneratorContext context(rects, accumulatedOffset); rects 635 Source/core/rendering/RenderInline.cpp continuation()->absoluteRects(rects, toLayoutPoint(accumulatedOffset - containingBlock()->location() + box->locationOffset())); rects 637 Source/core/rendering/RenderInline.cpp continuation()->absoluteRects(rects, toLayoutPoint(accumulatedOffset - containingBlock()->location())); rects 1351 Source/core/rendering/RenderInline.cpp void RenderInline::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer) rects 1353 Source/core/rendering/RenderInline.cpp AbsoluteRectsGeneratorContext context(rects, additionalOffset); rects 1364 Source/core/rendering/RenderInline.cpp curr->addFocusRingRects(rects, flooredIntPoint(pos), paintContainer); rects 1370 Source/core/rendering/RenderInline.cpp continuation()->addFocusRingRects(rects, flooredLayoutPoint(additionalOffset + continuation()->containingBlock()->location() - containingBlock()->location()), paintContainer); rects 1372 Source/core/rendering/RenderInline.cpp continuation()->addFocusRingRects(rects, flooredLayoutPoint(additionalOffset + toRenderBox(continuation())->location() - containingBlock()->location()), paintContainer); rects 1380 Source/core/rendering/RenderInline.cpp AbsoluteLayoutRectsGeneratorContext(Vector<LayoutRect>& rects, const LayoutPoint& accumulatedOffset) rects 1381 Source/core/rendering/RenderInline.cpp : m_rects(rects) rects 1397 Source/core/rendering/RenderInline.cpp void RenderInline::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) const rects 1399 Source/core/rendering/RenderInline.cpp AbsoluteLayoutRectsGeneratorContext context(rects, layerOffset); rects 1423 Source/core/rendering/RenderInline.cpp Vector<LayoutRect> rects; rects 1425 Source/core/rendering/RenderInline.cpp rects.append(LayoutRect()); rects 1430 Source/core/rendering/RenderInline.cpp rects.append(LayoutRect(curr->x(), top, curr->logicalWidth(), bottom - top)); rects 1432 Source/core/rendering/RenderInline.cpp rects.append(LayoutRect()); rects 1441 Source/core/rendering/RenderInline.cpp for (unsigned i = 1; i < rects.size() - 1; i++) rects 1442 Source/core/rendering/RenderInline.cpp paintOutlineForLine(graphicsContext, paintOffset, rects.at(i - 1), rects.at(i), rects.at(i + 1), outlineColor); rects 104 Source/core/rendering/RenderInline.h virtual void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) const OVERRIDE; rects 4044 Source/core/rendering/RenderLayer.cpp void RenderLayer::addLayerHitTestRects(LayerHitTestRects& rects) const rects 4046 Source/core/rendering/RenderLayer.cpp computeSelfHitTestRects(rects); rects 4048 Source/core/rendering/RenderLayer.cpp child->addLayerHitTestRects(rects); rects 4051 Source/core/rendering/RenderLayer.cpp void RenderLayer::computeSelfHitTestRects(LayerHitTestRects& rects) const rects 4066 Source/core/rendering/RenderLayer.cpp rects.set(this, rect); rects 4068 Source/core/rendering/RenderLayer.cpp LayerHitTestRects::iterator iter = rects.find(parentLayer); rects 4069 Source/core/rendering/RenderLayer.cpp if (iter == rects.end()) { rects 4070 Source/core/rendering/RenderLayer.cpp rects.add(parentLayer, Vector<LayoutRect>()).storedValue->value.append(physicalBoundingBox(parentLayer)); rects 4077 Source/core/rendering/RenderLayer.cpp rects.set(this, rect); rects 196 Source/core/rendering/RenderLayerModelObject.cpp void RenderLayerModelObject::addLayerHitTestRects(LayerHitTestRects& rects, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const rects 201 Source/core/rendering/RenderLayerModelObject.cpp RenderObject::addLayerHitTestRects(rects, layer(), LayoutPoint(), LayoutRect()); rects 207 Source/core/rendering/RenderLayerModelObject.cpp layer()->addLayerHitTestRects(rects); rects 210 Source/core/rendering/RenderLayerModelObject.cpp RenderObject::addLayerHitTestRects(rects, currentLayer, layerOffset, containerRect); rects 336 Source/core/rendering/RenderListBox.cpp void RenderListBox::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer) rects 339 Source/core/rendering/RenderListBox.cpp return RenderBlockFlow::addFocusRingRects(rects, additionalOffset, paintContainer); rects 346 Source/core/rendering/RenderListBox.cpp rects.append(pixelSnappedIntRect(itemBoundingBoxRect(additionalOffset, selectedItem))); rects 356 Source/core/rendering/RenderListBox.cpp rects.append(pixelSnappedIntRect(itemBoundingBoxRect(additionalOffset, i))); rects 120 Source/core/rendering/RenderObject.cpp LayoutRect rects[2]; // Stores the old/new repaint rects. rects 1261 Source/core/rendering/RenderObject.cpp Vector<IntRect> rects; rects 1262 Source/core/rendering/RenderObject.cpp absoluteRects(rects, flooredLayoutPoint(absPos)); rects 1264 Source/core/rendering/RenderObject.cpp size_t n = rects.size(); rects 1268 Source/core/rendering/RenderObject.cpp LayoutRect result = rects[0]; rects 1270 Source/core/rendering/RenderObject.cpp result.unite(rects[i]); rects 1276 Source/core/rendering/RenderObject.cpp Vector<IntRect> rects; rects 1282 Source/core/rendering/RenderObject.cpp addFocusRingRects(rects, flooredLayoutPoint(absolutePoint)); rects 1283 Source/core/rendering/RenderObject.cpp size_t count = rects.size(); rects 1285 Source/core/rendering/RenderObject.cpp IntRect rect = rects[i]; rects 96 Source/core/rendering/RenderSelectionInfo.h GapRects rects() const { return m_rects; } rects 322 Source/core/rendering/RenderText.cpp void RenderText::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const rects 325 Source/core/rendering/RenderText.cpp rects.append(enclosingIntRect(FloatRect(accumulatedOffset + box->topLeft(), box->size()))); rects 349 Source/core/rendering/RenderText.cpp void RenderText::absoluteRectsForRange(Vector<IntRect>& rects, unsigned start, unsigned end, bool useSelectionHeight, bool* wasFixed) rects 375 Source/core/rendering/RenderText.cpp rects.append(localToAbsoluteQuad(r, 0, wasFixed).enclosingBoundingBox()); rects 380 Source/core/rendering/RenderText.cpp rects.append(localToAbsoluteQuad(rect, 0, wasFixed).enclosingBoundingBox()); rects 281 Source/core/rendering/RenderTextControl.cpp void RenderTextControl::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& additionalOffset, const RenderLayerModelObject*) rects 284 Source/core/rendering/RenderTextControl.cpp rects.append(pixelSnappedIntRect(additionalOffset, size())); rects 310 Source/core/rendering/RenderView.cpp void RenderView::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint&) const rects 315 Source/core/rendering/RenderView.cpp rects.append(LayoutRect(LayoutPoint::zero(), frameView()->contentsSize())); rects 492 Source/core/rendering/RenderView.cpp void RenderView::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const rects 494 Source/core/rendering/RenderView.cpp rects.append(pixelSnappedIntRect(accumulatedOffset, layer()->size())); rects 737 Source/core/rendering/RenderView.cpp if (!newInfo || oldInfo->rects() != newInfo->rects() || oldInfo->state() != newInfo->state()) { rects 2031 Source/core/rendering/compositing/CompositedLayerMapping.cpp void operator() (GraphicsLayer* layer) const { layer->collectTrackedRepaintRects(*rects); } rects 2032 Source/core/rendering/compositing/CompositedLayerMapping.cpp Vector<FloatRect>* rects; rects 2037 Source/core/rendering/compositing/CompositedLayerMapping.cpp OwnPtr<Vector<FloatRect> > rects = adoptPtr(new Vector<FloatRect>); rects 2038 Source/core/rendering/compositing/CompositedLayerMapping.cpp CollectTrackedRepaintRectsFunctor functor = { rects.get() }; rects 2040 Source/core/rendering/compositing/CompositedLayerMapping.cpp return rects.release(); rects 164 Source/core/rendering/svg/RenderSVGContainer.cpp void RenderSVGContainer::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&, const RenderLayerModelObject*) rects 168 Source/core/rendering/svg/RenderSVGContainer.cpp rects.append(paintRectInParent); rects 231 Source/core/rendering/svg/RenderSVGImage.cpp void RenderSVGImage::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&, const RenderLayerModelObject*) rects 236 Source/core/rendering/svg/RenderSVGImage.cpp rects.append(contentRect); rects 72 Source/core/rendering/svg/RenderSVGModelObject.cpp void RenderSVGModelObject::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const rects 76 Source/core/rendering/svg/RenderSVGModelObject.cpp rects.append(rect); rects 90 Source/core/rendering/svg/RenderSVGModelObject.cpp void RenderSVGModelObject::computeLayerHitTestRects(LayerHitTestRects& rects) const rects 93 Source/core/rendering/svg/RenderSVGModelObject.cpp SVGRenderSupport::findTreeRootObject(this)->computeLayerHitTestRects(rects); rects 299 Source/core/rendering/svg/RenderSVGShape.cpp void RenderSVGShape::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&, const RenderLayerModelObject*) rects 303 Source/core/rendering/svg/RenderSVGShape.cpp rects.append(rect); rects 1351 Source/core/testing/Internals.cpp static void mergeRects(blink::WebVector<blink::WebRect>& rects) rects 1353 Source/core/testing/Internals.cpp for (size_t i = 0; i < rects.size(); ++i) { rects 1354 Source/core/testing/Internals.cpp if (rects[i].isEmpty()) rects 1359 Source/core/testing/Internals.cpp for (size_t j = i+1; j < rects.size(); ++j) { rects 1360 Source/core/testing/Internals.cpp if (rects[j].isEmpty()) rects 1363 Source/core/testing/Internals.cpp if (rects[i].y == rects[j].y && rects[i].height == rects[j].height) { rects 1364 Source/core/testing/Internals.cpp if (rects[i].x + rects[i].width == rects[j].x) { rects 1365 Source/core/testing/Internals.cpp rects[i].width += rects[j].width; rects 1366 Source/core/testing/Internals.cpp rects[j] = blink::WebRect(); rects 1368 Source/core/testing/Internals.cpp } else if (rects[i].x == rects[j].x + rects[j].width) { rects 1369 Source/core/testing/Internals.cpp rects[i].x = rects[j].x; rects 1370 Source/core/testing/Internals.cpp rects[i].width += rects[j].width; rects 1371 Source/core/testing/Internals.cpp rects[j] = blink::WebRect(); rects 1374 Source/core/testing/Internals.cpp } else if (rects[i].x == rects[j].x && rects[i].width == rects[j].width) { rects 1375 Source/core/testing/Internals.cpp if (rects[i].y + rects[i].height == rects[j].y) { rects 1376 Source/core/testing/Internals.cpp rects[i].height += rects[j].height; rects 1377 Source/core/testing/Internals.cpp rects[j] = blink::WebRect(); rects 1379 Source/core/testing/Internals.cpp } else if (rects[i].y == rects[j].y + rects[j].height) { rects 1380 Source/core/testing/Internals.cpp rects[i].y = rects[j].y; rects 1381 Source/core/testing/Internals.cpp rects[i].height += rects[j].height; rects 1382 Source/core/testing/Internals.cpp rects[j] = blink::WebRect(); rects 1391 Source/core/testing/Internals.cpp static void accumulateLayerRectList(RenderLayerCompositor* compositor, GraphicsLayer* graphicsLayer, LayerRectList* rects) rects 1401 Source/core/testing/Internals.cpp rects->append(node, layerType, ClientRect::create(layerRects[i])); rects 1407 Source/core/testing/Internals.cpp accumulateLayerRectList(compositor, graphicsLayer->children()[i], rects); rects 1426 Source/core/testing/Internals.cpp RefPtrWillBeRawPtr<LayerRectList> rects = LayerRectList::create(); rects 1427 Source/core/testing/Internals.cpp accumulateLayerRectList(compositor, rootLayer, rects.get()); rects 1428 Source/core/testing/Internals.cpp return rects; rects 1875 Source/core/testing/Internals.cpp OwnPtr<Vector<FloatRect> > rects = layer->collectTrackedRepaintRects(); rects 1876 Source/core/testing/Internals.cpp ASSERT(rects.get()); rects 1877 Source/core/testing/Internals.cpp Vector<FloatQuad> quads(rects->size()); rects 1878 Source/core/testing/Internals.cpp for (size_t i = 0; i < rects->size(); ++i) rects 1879 Source/core/testing/Internals.cpp quads[i] = FloatRect(rects->at(i)); rects 158 Source/platform/geometry/FloatRect.cpp FloatRect unionRect(const Vector<FloatRect>& rects) rects 162 Source/platform/geometry/FloatRect.cpp size_t count = rects.size(); rects 164 Source/platform/geometry/FloatRect.cpp result.unite(rects[i]); rects 163 Source/platform/geometry/IntRect.cpp IntRect unionRect(const Vector<IntRect>& rects) rects 167 Source/platform/geometry/IntRect.cpp size_t count = rects.size(); rects 169 Source/platform/geometry/IntRect.cpp result.unite(rects[i]); rects 121 Source/platform/geometry/LayoutRect.cpp LayoutRect unionRect(const Vector<LayoutRect>& rects) rects 125 Source/platform/geometry/LayoutRect.cpp size_t count = rects.size(); rects 127 Source/platform/geometry/LayoutRect.cpp result.unite(rects[i]); rects 51 Source/platform/geometry/Region.cpp Vector<IntRect> rects; rects 61 Source/platform/geometry/Region.cpp rects.append(IntRect(x, y, width, height)); rects 65 Source/platform/geometry/Region.cpp return rects; rects 114 Source/platform/geometry/Region.cpp Vector<IntRect> rects = this->rects(); rects 115 Source/platform/geometry/Region.cpp size_t size = rects.size(); rects 119 Source/platform/geometry/Region.cpp IntRect rect = rects[i]; rects 44 Source/platform/geometry/Region.h Vector<IntRect> rects() const; rects 122 Source/platform/geometry/RegionTest.cpp Vector<IntRect> rects = r.rects(); rects 123 Source/platform/geometry/RegionTest.cpp for (size_t i = 0; i < rects.size(); ++i) rects 124 Source/platform/geometry/RegionTest.cpp EXPECT_FALSE(rects[i].isEmpty()); rects 615 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color& color) rects 620 Source/platform/graphics/GraphicsContext.cpp unsigned rectCount = rects.size(); rects 627 Source/platform/graphics/GraphicsContext.cpp SkIRect r = rects[i]; rects 516 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::collectTrackedRepaintRects(Vector<FloatRect>& rects) const rects 523 Source/platform/graphics/GraphicsLayer.cpp rects.appendVector(repaintIt->value); rects 209 Source/web/tests/TouchActionTest.cpp RefPtr<WebCore::ClientRectList> rects = element->getClientRects(); rects 210 Source/web/tests/TouchActionTest.cpp ASSERT_GE(rects->length(), 0u) << failureContext; rects 211 Source/web/tests/TouchActionTest.cpp RefPtr<WebCore::ClientRect> r = rects->item(0);