Home | History | Annotate | Download | only in scroll

Lines Matching refs:graphicsLayer

30 #include "platform/graphics/GraphicsLayer.h"
719 static void positionScrollbarLayer(GraphicsLayer* graphicsLayer, Scrollbar* scrollbar)
721 if (!graphicsLayer || !scrollbar)
725 graphicsLayer->setPosition(scrollbarRect.location());
727 if (scrollbarRect.size() == graphicsLayer->size())
730 graphicsLayer->setSize(scrollbarRect.size());
732 if (graphicsLayer->hasContentsLayer()) {
733 graphicsLayer->setContentsRect(IntRect(0, 0, scrollbarRect.width(), scrollbarRect.height()));
737 graphicsLayer->setDrawsContent(true);
738 graphicsLayer->setNeedsDisplay();
741 static void positionScrollCornerLayer(GraphicsLayer* graphicsLayer, const IntRect& cornerRect)
743 if (!graphicsLayer)
745 graphicsLayer->setDrawsContent(!cornerRect.isEmpty());
746 graphicsLayer->setPosition(cornerRect.location());
747 if (cornerRect.size() != graphicsLayer->size())
748 graphicsLayer->setNeedsDisplay();
749 graphicsLayer->setSize(cornerRect.size());