Home
last modified time | relevance | path

Searched refs:paintingRect (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/frame/
DLocalFrame.cpp650 IntRect paintingRect = pixelSnappedIntRect(renderer->paintingRootRect(topLevelRect)); in nodeImage() local
654 paintingRect.setWidth(paintingRect.width() * deviceScaleFactor); in nodeImage()
655 paintingRect.setHeight(paintingRect.height() * deviceScaleFactor); in nodeImage()
657 OwnPtr<ImageBuffer> buffer = ImageBuffer::create(paintingRect.size()); in nodeImage()
661 buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); in nodeImage()
662 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); in nodeImage()
664 m_view->paintContents(buffer->context(), paintingRect); in nodeImage()
679 IntRect paintingRect = enclosingIntRect(selection().bounds()); in dragImageForSelection() local
683 paintingRect.setWidth(paintingRect.width() * deviceScaleFactor); in dragImageForSelection()
684 paintingRect.setHeight(paintingRect.height() * deviceScaleFactor); in dragImageForSelection()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumSkia.cpp242 …IntRect paintingRect = convertToPaintingRect(inputRenderBox, cancelButtonObject, cancelButtonRect,… in paintSearchFieldCancelButton() local
246 …context->drawImage(isPressed(cancelButtonObject) ? cancelPressedImage : cancelImage, paintingRect); in paintSearchFieldCancelButton()
287 IntRect paintingRect = convertToPaintingRect(inputRenderBox, magnifierObject, magnifierRect, r); in paintSearchFieldResultsDecoration() local
290 paintInfo.context->drawImage(magnifierImage, paintingRect); in paintSearchFieldResultsDecoration()