Searched defs:renderView (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DLengthFunctions.cpp33 int minimumIntValueForLength(const Length& length, LayoutUnit maximumValue, RenderView* renderView, bool roundPercentages) argument
35 return static_cast<int>(minimumValueForLength(length, maximumValue, renderView, roundPercentages));
38 int intValueForLength(const Length& length, LayoutUnit maximumValue, RenderView* renderView, bool roundPercentages) argument
40 return static_cast<int>(valueForLength(length, maximumValue, renderView, roundPercentages));
43 LayoutUnit minimumValueForLength(const Length& length, LayoutUnit maximumValue, RenderView* renderView, bool roundPercentages) argument
56 if (renderView)
57 return static_cast<LayoutUnit>(renderView->viewportSize().width() * length.viewportPercentageLength() / 100.0f);
60 if (renderView)
61 return static_cast<LayoutUnit>(renderView->viewportSize().height() * length.viewportPercentageLength() / 100.0f);
64 if (renderView) {
93 valueForLength(const Length& length, LayoutUnit maximumValue, RenderView* renderView, bool roundPercentages) argument
122 floatValueForLength(const Length& length, float maximumValue, RenderView* renderView) argument
[all...]
H A DCSSComputedStyleDeclaration.cpp606 static PassRefPtr<CSSValue> getPositionOffsetValue(RenderStyle* style, CSSPropertyID propertyID, const RenderObject* renderer, RenderView* renderView) argument
636 return zoomAdjustedPixelValue(valueForLength(l, 0, renderView), style);
672 static PassRefPtr<CSSValueList> getBorderRadiusCornerValues(LengthSize radius, const RenderStyle* style, RenderView* renderView) argument
678 list->append(zoomAdjustedPixelValue(valueForLength(radius.width(), 0, renderView), style));
682 list->append(zoomAdjustedPixelValue(valueForLength(radius.height(), 0, renderView), style));
686 static PassRefPtr<CSSValue> getBorderRadiusCornerValue(LengthSize radius, const RenderStyle* style, RenderView* renderView) argument
691 return zoomAdjustedPixelValue(valueForLength(radius.width(), 0, renderView), style);
693 return getBorderRadiusCornerValues(radius, style, renderView);
696 static PassRefPtr<CSSValueList> getBorderRadiusShorthandValue(const RenderStyle* style, RenderView* renderView) argument
708 RefPtr<CSSValueList> topLeftRadius = getBorderRadiusCornerValues(style->borderTopLeftRadius(), style, renderView);
1003 valueForGridTrackBreadth(const GridLength& trackBreadth, const RenderStyle* style, RenderView* renderView) argument
1018 valueForGridTrackSize(const GridTrackSize& trackSize, const RenderStyle* style, RenderView* renderView) argument
1051 valueForGridTrackList(const Vector<GridTrackSize>& trackSizes, const NamedGridLinesMap& namedGridLines, const RenderStyle* style, RenderView* renderView) argument
1445 lineHeightFromStyle(RenderStyle* style, RenderView* renderView) argument
2469 RenderView* renderView = m_node->document()->renderView(); local
2517 RenderView* renderView = m_node->document()->renderView(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorLayerTreeAgent.cpp140 RenderView* renderView = m_page->mainFrame()->contentRenderer(); local
141 RenderLayerCompositor* compositor = renderView ? renderView->compositor() : 0;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLAreaElement.cpp145 RenderView* renderView = document()->renderView(); local
150 path.moveTo(FloatPoint(minimumValueForLength(m_coords[0], width, renderView), minimumValueForLength(m_coords[1], height, renderView)));
152 path.addLineTo(FloatPoint(minimumValueForLength(m_coords[i * 2], width, renderView), minimumValueForLength(m_coords[i * 2 + 1], height, renderView)));
159 int r = min(minimumValueForLength(radius, width, renderView), minimumValueForLength(radius, height, renderView));
160 path.addEllipse(FloatRect(minimumValueForLength(m_coords[0], width, renderView) - r, minimumValueForLength(m_coords[1], height, renderView)
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderScrollbarPart.cpp90 static int calcScrollbarThicknessUsing(SizeType sizeType, const Length& length, int containingLength, RenderView* renderView) argument
93 return minimumValueForLength(length, containingLength, renderView);
101 RenderView* renderView = view();
105 int w = calcScrollbarThicknessUsing(MainOrPreferredSize, style()->width(), visibleSize, renderView);
106 int minWidth = calcScrollbarThicknessUsing(MinSize, style()->minWidth(), visibleSize, renderView);
107 int maxWidth = style()->maxWidth().isUndefined() ? w : calcScrollbarThicknessUsing(MaxSize, style()->maxWidth(), visibleSize, renderView);
111 m_marginBox.setLeft(minimumValueForLength(style()->marginLeft(), visibleSize, renderView));
112 m_marginBox.setRight(minimumValueForLength(style()->marginRight(), visibleSize, renderView));
119 RenderView* renderView = view();
123 int h = calcScrollbarThicknessUsing(MainOrPreferredSize, style()->height(), visibleSize, renderView);
[all...]
H A DRenderView.h306 ALWAYS_INLINE RenderView* Document::renderView() const function in class:WebCore::Document
H A DRenderTreeAsText.cpp618 static void writeRenderNamedFlowThreads(TextStream& ts, RenderView* renderView, const RenderLayer* rootLayer, argument
621 if (!renderView->hasRenderNamedFlowThreads())
624 const RenderNamedFlowThreadList* list = renderView->flowThreadController()->renderNamedFlowThreadList();
714 RenderView* renderView = toRenderView(l->renderer()); local
715 writeRenderNamedFlowThreads(ts, renderView, rootLayer, paintDirtyRect, indent, behavior);
H A DRenderFlexibleBox.cpp843 RenderView* renderView = view(); local
855 child->setMarginLeft(computeChildMarginValue(child->style()->marginLeft(), renderView));
856 child->setMarginRight(computeChildMarginValue(child->style()->marginRight(), renderView));
858 child->setMarginTop(computeChildMarginValue(child->style()->marginTop(), renderView));
859 child->setMarginBottom(computeChildMarginValue(child->style()->marginBottom(), renderView));
H A DRenderLayerCompositor.cpp218 RenderLayerCompositor::RenderLayerCompositor(RenderView* renderView) argument
219 : m_renderView(renderView)
1272 if (RenderView* view = contentDocument->renderView())
H A DRenderTable.cpp250 RenderView* renderView = view(); local
261 LayoutUnit marginStart = minimumValueForLength(style()->marginStart(), availableLogicalWidth, renderView);
262 LayoutUnit marginEnd = minimumValueForLength(style()->marginEnd(), availableLogicalWidth, renderView);
309 setMarginStart(minimumValueForLength(style()->marginStart(), availableLogicalWidth, renderView));
310 setMarginEnd(minimumValueForLength(style()->marginEnd(), availableLogicalWidth, renderView));
H A DRenderView.cpp1121 RenderView* renderView = root->view(); local
1122 ASSERT(renderView);
1124 LayoutState* layoutState = renderView->layoutState();
1142 RenderView* renderView = m_root->view(); local
1143 ASSERT(renderView);
1145 LayoutState* layoutState = renderView->layoutState();
H A DRenderBoxModelObject.cpp432 RenderView* renderView = 0; local
436 renderView = view();
437 return minimumValueForLength(padding, w, renderView);
443 RenderView* renderView = view(); local
444 RoundedRect border = style()->getRoundedBorderFor(borderRect, renderView, includeLogicalLeftEdge, includeLogicalRightEdge);
446 RoundedRect segmentBorder = style()->getRoundedBorderFor(LayoutRect(0, 0, inlineBoxWidth, inlineBoxHeight), renderView, includeLogicalLeftEdge, includeLogicalRightEdge);
885 RenderView* renderView = view(); local
896 tileSize.setWidth(valueForLength(layerWidth, positioningAreaSize.width(), renderView));
901 tileSize.setHeight(valueForLength(layerHeight, positioningAreaSize.height(), renderView));
1058 RenderView* renderView local
1084 computeBorderImageSide(Length borderSlice, LayoutUnit borderSide, LayoutUnit imageSide, LayoutUnit boxExtent, RenderView* renderView) argument
1119 RenderView* renderView = view(); local
[all...]
H A DRenderBox.cpp650 RenderView* renderView = view();
652 return valueForLength(style()->boxReflect()->offset(), borderBoxRect().width(), renderView);
653 return valueForLength(style()->boxReflect()->offset(), borderBoxRect().height(), renderView);
1615 RenderView* renderView = view(); local
1618 LayoutUnit c = valueForLength(style()->clipLeft(), borderBoxRect.width(), renderView);
1627 clipRect.contract(width() - valueForLength(style()->clipRight(), width(), renderView), 0);
1630 LayoutUnit c = valueForLength(style()->clipTop(), borderBoxRect.height(), renderView);
1636 clipRect.contract(0, height() - valueForLength(style()->clipBottom(), height(), renderView));
2154 RenderView* renderView = view(); local
2155 computedValues.m_margins.m_start = minimumValueForLength(styleToUse->marginStart(), containerLogicalWidth, renderView);
2175 RenderView* renderView = view(); local
2221 RenderView* renderView = view(); local
2359 RenderView* renderView = view(); local
2979 RenderView* renderView = view(); local
3313 RenderView* renderView = view(); local
3643 RenderView* renderView = view(); local
3823 RenderView* renderView = view(); local
3947 RenderView* renderView = view(); local
[all...]
H A DRenderBlock.cpp1569 RenderView* renderView = view(); local
1571 LayoutStateMaintainer statePusher(renderView, this, locationOffset(), hasColumns() || hasTransform() || hasReflection() || styleToUse->isFlippedBlocksWritingMode(), pageLogicalHeight, pageLogicalHeightChanged, columnInfo());
1656 if (renderView->layoutState()->m_pageLogicalHeight)
1657 setPageLogicalOffset(renderView->layoutState()->pageLogicalOffset(this, logicalTop()));
4296 RenderView* renderView = 0; local
4300 renderView = view();
4301 return minimumValueForLength(style()->textIndent(), cw, renderView);
7322 RenderView* renderView = child->view(); local
7323 while (curr && curr != renderView) {
7389 RenderView* renderView local
7406 RenderView* renderView = view(); local
7415 RenderView* renderView = view(); local
[all...]
H A DRenderLayer.cpp3165 RenderView* renderView = renderer()->view();
3170 paintingRoot = renderView->layer();
5007 RenderView* renderView = renderer()->view(); local
5013 calculateRects(clipRectsContext, renderView->unscaledDocumentRect(), layerBounds, backgroundRect, foregroundRect, outlineRect);
5021 RenderView* renderView = renderer()->view(); local
5026 calculateRects(clipRectsContext, renderView->documentRect(), layerBounds, backgroundRect, foregroundRect, outlineRect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGRoot.cpp147 static inline LayoutUnit resolveLengthAttributeForSVG(const Length& length, float scale, float maxSize, RenderView* renderView) argument
149 return static_cast<LayoutUnit>(valueForLength(length, maxSize, renderView) * (length.isFixed() ? scale : 1));
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DFrameView.h79 RenderView* renderView() const { return m_frame ? m_frame->contentRenderer() : 0; } function in class:WebCore::FrameView
H A DFrameView.cpp443 if (RenderView* renderView = this->renderView()) {
444 if (renderView->usesCompositing())
445 renderView->compositor()->frameViewDidChangeSize();
542 RenderView* renderView = this->renderView(); local
543 if (!renderView)
548 const IntRect rect = renderView->documentRect();
685 RenderView* renderView = this->renderView(); local
707 RenderView* renderView = this->renderView(); local
719 RenderView* renderView = this->renderView(); local
729 RenderView* renderView = this->renderView(); local
737 RenderView* renderView = this->renderView(); local
745 RenderView* renderView = this->renderView(); local
753 RenderView* renderView = this->renderView(); local
762 RenderView* renderView = this->renderView(); local
790 RenderView* renderView = this->renderView(); local
1135 RenderView* renderView = this->renderView(); local
1239 RenderView* renderView = this->renderView(); local
1522 RenderView* renderView = this->renderView(); local
1913 RenderView* renderView = this->renderView(); local
2231 RenderView* renderView = this->renderView(); local
2861 RenderView* renderView = this->renderView(); local
3348 RenderView* renderView = this->renderView(); local
3357 RenderView* renderView = this->renderView(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp868 static RoundedRect::Radii calcRadiiFor(const BorderData& border, IntSize size, RenderView* renderView) argument
871 IntSize(valueForLength(border.topLeft().width(), size.width(), renderView),
872 valueForLength(border.topLeft().height(), size.height(), renderView)),
873 IntSize(valueForLength(border.topRight().width(), size.width(), renderView),
874 valueForLength(border.topRight().height(), size.height(), renderView)),
875 IntSize(valueForLength(border.bottomLeft().width(), size.width(), renderView),
876 valueForLength(border.bottomLeft().height(), size.height(), renderView)),
877 IntSize(valueForLength(border.bottomRight().width(), size.width(), renderView),
878 valueForLength(border.bottomRight().height(), size.height(), renderView)));
930 RoundedRect RenderStyle::getRoundedBorderFor(const LayoutRect& borderRect, RenderView* renderView, boo argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DInternals.cpp1340 RenderView* renderView = document->renderView(); local
1342 if (!renderView)
1368 renderView->hitTest(request, result);
1373 renderView->hitTest(request, result);

Completed in 499 milliseconds