Lines Matching refs:part
57 if (RenderScrollbarPart* part = m_parts.get(ScrollbarBGPart)) {
58 part->layout();
59 width = part->width();
60 height = part->height();
76 // scrollbar part. So, we need to destroy these parts since we don't want them
113 void RenderScrollbar::setHoveredPart(ScrollbarPart part)
115 if (part == m_hoveredPart)
119 m_hoveredPart = part;
128 void RenderScrollbar::setPressedPart(ScrollbarPart part)
131 Scrollbar::setPressedPart(part);
134 updateScrollbarPart(part);
175 RenderScrollbarPart* part = m_parts.get(ScrollbarBGPart);
176 if (part) {
177 part->layout();
178 newThickness = isHorizontal ? part->height() : part->width();
188 static PseudoId pseudoForScrollbarPart(ScrollbarPart part)
190 switch (part) {
301 RenderScrollbarPart* part = m_parts.get(TrackBGPart);
302 if (part)
303 part->layout();
306 int marginLeft = part ? static_cast<int>(part->marginLeft()) : 0;
307 int marginRight = part ? static_cast<int>(part->marginRight()) : 0;
314 int marginTop = part ? static_cast<int>(part->marginTop()) : 0;
315 int marginBottom = part ? static_cast<int>(part->marginBottom()) : 0;