Home
last modified time | relevance | path

Searched refs:renderBox (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTextControlSingleLine.cpp112 RenderBox* innerTextRenderer = innerTextElement()->renderBox(); in layout()
113 …RenderBox* viewPortRenderer = editingViewPortElement() ? editingViewPortElement()->renderBox() : 0; in layout()
128 RenderBox* containerRenderer = container ? container->renderBox() : 0; in layout()
172 …if (RenderBox* innerSpinBox = innerSpinButtonElement() ? innerSpinButtonElement()->renderBox() : 0… in layout()
182 if (RenderBox* placeholderBox = placeholderElement ? placeholderElement->renderBox() : 0) { in layout()
194 if (editingViewPortElement() && editingViewPortElement()->renderBox()) in layout()
195 textOffset += toLayoutSize(editingViewPortElement()->renderBox()->location()); in layout()
225 if (editingViewPortElement()->renderBox()) in nodeAtPoint()
226 pointInParent -= toLayoutSize(editingViewPortElement()->renderBox()->location()); in nodeAtPoint()
227 if (container->renderBox()) in nodeAtPoint()
[all …]
DRenderTextControl.cpp111 unitWidth -= innerText->renderBox()->paddingStart() + innerText->renderBox()->paddingEnd(); in textBlockLogicalWidth()
133 if (RenderBox* innerTextBox = innerText->renderBox()) { in computeLogicalHeight()
153 …ocalPoint = pointInContainer - toLayoutSize(adjustedLocation + innerText->renderBox()->location()); in hitInnerTextElement()
245 if (RenderBox* innerTextRenderBox = innerTextElement()->renderBox()) in computeIntrinsicLogicalWidths()
DRenderSearchField.cpp62 if (RenderBox* decorationRenderer = searchDecoration ? searchDecoration->renderBox() : 0) { in computeControlLogicalHeight()
68 if (RenderBox* cancelRenderer = cancelButton ? cancelButton->renderBox() : 0) { in computeControlLogicalHeight()
DRenderTreeAsText.cpp542 … if (l.renderBox() && l.renderBox()->pixelSnappedClientWidth() != l.renderBox()->scrollWidth()) in write()
543 ts << " scrollWidth " << l.renderBox()->scrollWidth(); in write()
544 … if (l.renderBox() && l.renderBox()->pixelSnappedClientHeight() != l.renderBox()->scrollHeight()) in write()
545 ts << " scrollHeight " << l.renderBox()->scrollHeight(); in write()
662 …paintDirtyRect.setWidth(max<LayoutUnit>(paintDirtyRect.width(), rootLayer->renderBox()->layoutOver… in writeLayers()
663 …paintDirtyRect.setHeight(max<LayoutUnit>(paintDirtyRect.height(), rootLayer->renderBox()->layoutOv… in writeLayers()
664 …layer->setSize(layer->size().expandedTo(pixelSnappedIntSize(layer->renderBox()->maxLayoutOverflow(… in writeLayers()
DRenderFileUploadControl.cpp81 return (node && node->renderBox()) ? node->renderBox()->pixelSnappedWidth() : 0; in nodeWidth()
DRenderSlider.cpp99 RenderBox* thumbBox = sliderThumbElement()->renderBox(); in layout()
DRenderLayer.cpp561 RenderBox* box = renderBox(); in updateTransform()
581 …style->applyTransform(currTransform, renderBox()->pixelSnappedBorderBoxRect().size(), applyOrigin); in currentTransform()
588 RenderBox* box = renderBox(); in currentTransform()
700 m_isPaginated = checkContainingBlockChainForPagination(renderer(), curr->renderBox()); in updatePagination()
958 } else if (RenderBox* box = renderBox()) { in updateLayerPosition()
988 LayoutSize offset = positionedParent->renderBox()->scrolledContentOffset(); in updateLayerPosition()
1010 IntSize scrollOffset = parent()->renderBox()->scrolledContentOffset(); in updateLayerPosition()
1281 clipRect.unite(layer->renderBox()->reflectedRect(clipRect)); in expandClipRectForDescendantsAndReflection()
1762 m_scrollableArea = adoptPtr(new RenderLayerScrollableArea(renderBox())); in updateScrollableArea()
2523 …>hasColumns() && checkContainingBlockChainForPagination(childLayer->renderer(), curr->renderBox())) in paintPaginatedChildLayer()
[all …]
DCompositedLayerMapping.cpp617 RenderBox* renderBox = toRenderBox(compAncestor->renderer()); in updateGraphicsLayerGeometry() local
618 IntSize scrollOffset = renderBox->scrolledContentOffset(); in updateGraphicsLayerGeometry()
619 IntPoint scrollOrigin(renderBox->borderLeft(), renderBox->borderTop()); in updateGraphicsLayerGeometry()
760 RenderBox* renderBox = toRenderBox(renderer()); in updateGraphicsLayerGeometry() local
761 IntRect clientBox = enclosingIntRect(renderBox->clientBoxRect()); in updateGraphicsLayerGeometry()
764 clientBox.move(renderBox->verticalScrollbarWidth(), 0); in updateGraphicsLayerGeometry()
781 IntSize scrollSize(renderBox->scrollWidth(), renderBox->scrollHeight()); in updateGraphicsLayerGeometry()
DRenderBlockLineLayout.cpp675 RenderBox* renderBox = toRenderBox(firstRun->m_object); in computeInlineDirectionPositionsForLine() local
676 …lineLogicalRight, availableLogicalWidth, isFirstLine, shouldIndentText, renderBox->logicalHeight()… in computeInlineDirectionPositionsForLine()
732 RenderBox* renderBox = toRenderBox(r->m_object); in computeInlineDirectionPositionsForSegment() local
733 if (renderBox->isRubyRun()) in computeInlineDirectionPositionsForSegment()
734 setMarginsForRubyRun(r, toRenderRubyRun(renderBox), previousObject, lineInfo); in computeInlineDirectionPositionsForSegment()
735 r->m_box->setLogicalWidth(logicalWidthForChild(renderBox)); in computeInlineDirectionPositionsForSegment()
736 totalLogicalWidth += marginStartForChild(renderBox) + marginEndForChild(renderBox); in computeInlineDirectionPositionsForSegment()
DRenderLayer.h97 …RenderBox* renderBox() const { return m_renderer && m_renderer->isBox() ? toRenderBox(m_renderer) … in renderBox() function
569 bool requiresScrollableArea() const { return renderBox(); } in requiresScrollableArea()
DHitTestResult.cpp288 return m_innerNonSharedNode->renderBox()->absoluteContentQuad().enclosingBoundingBox(); in imageRect()
DRenderView.cpp200 return ownerElement->renderBox(); in enclosingSeamlessRenderer()
590 else if (RenderBox* obj = elt->renderBox()) { in repaintViewRectangle()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DSliderThumbElement.cpp157 RenderBox* thumb = thumbElement ? thumbElement->renderBox() : 0; in layout()
158 RenderBox* track = trackElement ? trackElement->renderBox() : 0; in layout()
257 if (!input->renderer() || !renderBox() || !trackElement->renderBox()) in setPositionFromPoint()
262 bool isLeftToRightDirection = renderBox()->style()->isLeftToRightDirection(); in setPositionFromPoint()
270 …LayoutPoint absoluteThumbOrigin = renderBox()->absoluteBoundingBoxRectIgnoringTransforms().locatio… in setPositionFromPoint()
275 trackSize = trackElement->renderBox()->contentHeight() - renderBox()->height(); in setPositionFromPoint()
276 …position = offset.y() - renderBox()->height() / 2 - trackBoundingBox.y() + inputBoundingBox.y() - in setPositionFromPoint()
279 trackSize = trackElement->renderBox()->contentWidth() - renderBox()->width(); in setPositionFromPoint()
280 … position = offset.x() - renderBox()->width() / 2 - trackBoundingBox.x() + inputBoundingBox.x(); in setPositionFromPoint()
281 position -= isLeftToRightDirection ? renderBox()->marginLeft() : renderBox()->marginRight(); in setPositionFromPoint()
DSpinButtonElement.cpp78 RenderBox* box = renderBox(); in defaultEventHandler()
148 if (!renderBox()) in forwardEvent()
166 if (renderBox() && shouldRespondToMouseEvents()) in willRespondToMouseMoveEvents()
174 if (renderBox() && shouldRespondToMouseEvents()) in willRespondToMouseClickEvents()
/external/chromium_org/third_party/WebKit/Source/core/page/
DSpatialNavigation.cpp372 if (!container->renderBox()) in scrollInDirection()
380 …dx = - std::min<LayoutUnit>(ScrollableArea::pixelsPerLineStep(), container->renderBox()->scrollLef… in scrollInDirection()
383 …ASSERT(container->renderBox()->scrollWidth() > (container->renderBox()->scrollLeft() + container-> in scrollInDirection()
384 …pixelsPerLineStep(), container->renderBox()->scrollWidth() - (container->renderBox()->scrollLeft()… in scrollInDirection()
387 …dy = - std::min<LayoutUnit>(ScrollableArea::pixelsPerLineStep(), container->renderBox()->scrollTop… in scrollInDirection()
390 …ASSERT(container->renderBox()->scrollHeight() - (container->renderBox()->scrollTop() + container-> in scrollInDirection()
391 …pixelsPerLineStep(), container->renderBox()->scrollHeight() - (container->renderBox()->scrollTop()… in scrollInDirection()
398 container->renderBox()->scrollByRecursively(IntSize(dx, dy)); in scrollInDirection()
458 …return (container->renderer()->style()->overflowX() != OHIDDEN && container->renderBox()->scrollLe… in canScrollInDirection()
460 …return (container->renderer()->style()->overflowY() != OHIDDEN && container->renderBox()->scrollTo… in canScrollInDirection()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorOverlay.cpp173 RenderBox* renderBox = toRenderBox(renderer); in buildNodeQuads() local
176 contentBox = renderBox->contentBoxRect(); in buildNodeQuads()
177 contentBox.setWidth(contentBox.width() + renderBox->verticalScrollbarWidth()); in buildNodeQuads()
178 contentBox.setHeight(contentBox.height() + renderBox->horizontalScrollbarHeight()); in buildNodeQuads()
180 …paddingBox = LayoutRect(contentBox.x() - renderBox->paddingLeft(), contentBox.y() - renderBox->pad… in buildNodeQuads()
181 …contentBox.width() + renderBox->paddingLeft() + renderBox->paddingRight(), contentBox.height() + r… in buildNodeQuads()
182 …borderBox = LayoutRect(paddingBox.x() - renderBox->borderLeft(), paddingBox.y() - renderBox->borde… in buildNodeQuads()
183 …paddingBox.width() + renderBox->borderLeft() + renderBox->borderRight(), paddingBox.height() + ren… in buildNodeQuads()
184 …marginBox = LayoutRect(borderBox.x() - renderBox->marginLeft(), borderBox.y() - renderBox->marginT… in buildNodeQuads()
185 … borderBox.width() + renderBox->marginWidth(), borderBox.height() + renderBox->marginHeight()); in buildNodeQuads()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFrameElementBase.cpp217 if (!renderBox()) in width()
219 return renderBox()->width(); in width()
225 if (!renderBox()) in height()
227 return renderBox()->height(); in height()
DHTMLCanvasElement.cpp209 if (RenderBox* ro = renderBox()) { in didDraw()
275 if (renderBox() && renderBox()->hasAcceleratedCompositing()) in reset()
276 renderBox()->contentChanged(CanvasChanged); in reset()
295 if (renderBox() && renderBox()->hasAcceleratedCompositing()) in paintsIntoCanvasBuffer()
DHTMLImageElement.cpp251 RenderBox* box = renderBox(); in width()
274 RenderBox* box = renderBox(); in height()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DImageInputType.cpp210 RenderBox* box = element->renderBox(); in height()
234 RenderBox* box = element->renderBox(); in width()
DTextFieldInputType.cpp238 if (RenderBox* innerTextRenderer = element().innerTextElement()->renderBox()) { in forwardEvent()
/external/chromium_org/third_party/WebKit/Source/web/
DValidationMessageClientImpl.cpp77 if (!anchor.renderBox()) in showValidationMessage()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.cpp577 if (RenderBox* renderer = renderBox()) { in offsetWidth()
616 if (RenderBox* renderer = renderBox()) in clientLeft()
625 if (RenderBox* renderer = renderBox()) in clientTop()
645 if (RenderBox* renderer = renderBox()) in clientWidth()
666 if (RenderBox* renderer = renderBox()) in clientHeight()
676 if (RenderBox* rend = renderBox()) in scrollLeft()
699 if (RenderBox* rend = renderBox()) in scrollTop()
722 if (RenderBox* rend = renderBox()) in setScrollLeft()
747 if (RenderBox* rend = renderBox()) in setScrollTop()
770 if (RenderBox* rend = renderBox()) in scrollWidth()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp1811 RenderBox* renderBox = canvas()->renderBox(); in didDraw() local
1812 if (renderBox && renderBox->hasAcceleratedCompositing()) { in didDraw()
1813 renderBox->contentChanged(CanvasPixelsChanged); in didDraw()
DWebGLRenderingContext.cpp792 RenderBox* renderBox = canvas()->renderBox(); in markContextChanged() local
793 if (renderBox && renderBox->hasAcceleratedCompositing()) { in markContextChanged()
796 renderBox->contentChanged(CanvasChanged); in markContextChanged()
954 RenderBox* renderBox = canvas()->renderBox(); in reshape() local
955 if (renderBox && renderBox->hasAcceleratedCompositing()) in reshape()
956 renderBox->contentChanged(CanvasChanged); in reshape()

12