/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderOverflowTest.cpp | 43 void PrintTo(const LayoutRect& rect, std::ostream* os) in PrintTo() 56 LayoutRect initialLayoutOverflow() in initialLayoutOverflow() 58 return LayoutRect(10, 10, 80, 80); in initialLayoutOverflow() 61 LayoutRect initialVisualOverflow() in initialVisualOverflow() 63 return LayoutRect(0, 0, 100, 100); in initialVisualOverflow() 81 m_overflow.addLayoutOverflow(LayoutRect(0, 10, 30, 10)); in TEST_F() 82 EXPECT_EQ(LayoutRect(0, 10, 90, 80), m_overflow.layoutOverflowRect()); in TEST_F() 87 m_overflow.addLayoutOverflow(LayoutRect(50, 50, 10, 20)); in TEST_F() 96 m_overflow.addLayoutOverflow(LayoutRect(200, 200, 0, 0)); in TEST_F() 97 EXPECT_EQ(LayoutRect(10, 10, 190, 190), m_overflow.layoutOverflowRect()); in TEST_F() [all …]
|
D | GapRects.h | 31 const LayoutRect& left() const { return m_left; } in left() 32 const LayoutRect& center() const { return m_center; } in center() 33 const LayoutRect& right() const { return m_right; } in right() 35 void uniteLeft(const LayoutRect& r) { m_left.unite(r); } in uniteLeft() 36 void uniteCenter(const LayoutRect& r) { m_center.unite(r); } in uniteCenter() 37 void uniteRight(const LayoutRect& r) { m_right.unite(r); } in uniteRight() 40 operator LayoutRect() const in LayoutRect() function 42 LayoutRect result = m_left; in LayoutRect() 55 LayoutRect m_left; 56 LayoutRect m_center; [all …]
|
D | RenderOverflow.h | 43 RenderOverflow(const LayoutRect& layoutRect, const LayoutRect& visualRect) in RenderOverflow() 49 const LayoutRect layoutOverflowRect() const { return m_layoutOverflow; } in layoutOverflowRect() 50 const LayoutRect visualOverflowRect() const { return m_visualOverflow; } in visualOverflowRect() 51 LayoutRect contentsVisualOverflowRect() const { return m_contentsVisualOverflow; } in contentsVisualOverflowRect() 65 void addLayoutOverflow(const LayoutRect&); 66 void addVisualOverflow(const LayoutRect&); 67 void addContentsVisualOverflow(const LayoutRect& rect) { m_contentsVisualOverflow.unite(rect); } in addContentsVisualOverflow() 69 void setLayoutOverflow(const LayoutRect&); 70 void setVisualOverflow(const LayoutRect&); 76 LayoutRect m_layoutOverflow; [all …]
|
D | RenderBox.h | 59 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const OVERRIDE; 150 LayoutRect frameRect() const { return m_frameRect; } in frameRect() 152 void setFrameRect(const LayoutRect& rect) { m_frameRect = rect; } in setFrameRect() 154 LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); } in borderBoxRect() 155 …LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + … in paddingBoxRect() 160 …LayoutRect contentBoxRect() const { return LayoutRect(borderLeft() + paddingLeft(), borderTop() + … in contentBoxRect() 168 …LayoutRect computedCSSContentBoxRect() const { return LayoutRect(borderLeft() + computedCSSPadding… in computedCSSContentBoxRect() 171 …virtual LayoutRect outlineBoundsForRepaint(const RenderLayerModelObject* /*repaintContainer*/, con… 185 LayoutRect noOverflowRect() const; 186 …LayoutRect layoutOverflowRect() const { return m_overflow ? m_overflow->layoutOverflowRect() : noO… in layoutOverflowRect() [all …]
|
D | RenderRegion.h | 55 void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; } in setFlowThreadPortionRect() 56 LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; } in flowThreadPortionRect() 57 LayoutRect flowThreadPortionOverflowRect() const; 95 LayoutUnit logicalTopOfFlowThreadContentRect(const LayoutRect&) const; 96 LayoutUnit logicalBottomOfFlowThreadContentRect(const LayoutRect&) const; 138 virtual void repaintFlowThreadContent(const LayoutRect& repaintRect) const; 140 virtual void collectLayerFragments(LayerFragments&, const LayoutRect&, const LayoutRect&) { } in collectLayerFragments() argument 158 …LayoutRect overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, bool isFirstP… 159 …void repaintFlowThreadContentRectangle(const LayoutRect& repaintRect, const LayoutRect& flowThread… 160 const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint& regionLocation) const; [all …]
|
D | RenderLayer.h | 118 …void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer, const LayoutRect& pai… 138 LayoutRect rect() const { return LayoutRect(location(), size()); } in rect() 174 void addBlockSelectionGapsBounds(const LayoutRect&); 254 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutRect&) const; 260 …void paint(GraphicsContext*, const LayoutRect& damageRect, PaintBehavior = PaintBehaviorNormal, Re… 264 …void paintOverlayScrollbars(GraphicsContext*, const LayoutRect& damageRect, PaintBehavior, RenderO… 270 …void calculateRects(const ClipRectsContext&, const LayoutRect& paintDirtyRect, LayoutRect& layerBo… 273 …LayoutRect childrenClipRect() const; // Returns the foreground clip rect of the layer in the docum… 274 …LayoutRect selfClipRect() const; // Returns the background clip rect of the layer in the document'… 275 …LayoutRect localClipRect() const; // Returns the background clip rect of the layer in the local co… [all …]
|
D | RenderMultiColumnSet.cpp | 222 LayoutRect RenderMultiColumnSet::columnRectAt(unsigned index) const in columnRectAt() 235 return LayoutRect(colLogicalLeft, colLogicalTop, colLogicalWidth, colLogicalHeight); in columnRectAt() 236 return LayoutRect(colLogicalTop, colLogicalLeft, colLogicalHeight, colLogicalWidth); in columnRectAt() 241 LayoutRect portionRect(flowThreadPortionRect()); in columnIndexAtOffset() 259 LayoutRect RenderMultiColumnSet::flowThreadPortionRectAt(unsigned index) const in flowThreadPortionRectAt() 261 LayoutRect portionRect = flowThreadPortionRect(); in flowThreadPortionRectAt() 263 …portionRect = LayoutRect(portionRect.x(), portionRect.y() + index * computedColumnHeight(), portio… in flowThreadPortionRectAt() 265 …portionRect = LayoutRect(portionRect.x() + index * computedColumnHeight(), portionRect.y(), comput… in flowThreadPortionRectAt() 269 LayoutRect RenderMultiColumnSet::flowThreadPortionOverflowRect(const LayoutRect& portionRect, unsig… in flowThreadPortionOverflowRect() 288 …LayoutRect overflowRect = overflowRectForFlowThreadPortion(portionRect, isFirstColumn && isFirstRe… in flowThreadPortionOverflowRect() [all …]
|
D | FilterEffectRenderer.h | 64 …prepareFilterEffect(RenderLayer*, const LayoutRect& filterBoxRect, const LayoutRect& dirtyRect, co… 68 const LayoutRect& repaintRect() const { return m_repaintRect; } in repaintRect() 73 LayoutRect m_repaintRect; 105 …LayoutRect computeSourceImageRectForDirtyRect(const LayoutRect& filterBoxRect, const LayoutRect& d…
|
D | RenderLayerRepainter.h | 69 LayoutRect repaintRect() const { return m_repaintRect; } in repaintRect() 70 LayoutRect repaintRectIncludingNonCompositingDescendants() const; 84 …void setBackingNeedsRepaintInRect(const LayoutRect&); // r is in the coordinate space of the layer… 86 void setFilterBackendNeedsRepaintingInRect(const LayoutRect&); 99 LayoutRect m_repaintRect; // Cached repaint rects. Used by layout. 100 LayoutRect m_outlineBox;
|
D | ClipRect.h | 48 ClipRect(const LayoutRect& rect) in ClipRect() 53 const LayoutRect& rect() const { return m_rect; } in rect() 54 void setRect(const LayoutRect& rect) { m_rect = rect; } in setRect() 61 bool operator!=(const LayoutRect& otherRect) const { return rect() != otherRect; } 63 void intersect(const LayoutRect& other) { m_rect.intersect(other); } in intersect() 75 bool intersects(const LayoutRect& rect) const { return m_rect.intersects(rect); } in intersects() 79 LayoutRect m_rect; 109 void reset(const LayoutRect& r) in reset() 154 ClipRects(const LayoutRect& r) in ClipRects() 232 …void setRects(const LayoutRect& bounds, const ClipRect& background, const ClipRect& foreground, co… in setRects() [all …]
|
D | InlineFlowBox.h | 114 …void paintFillLayers(const PaintInfo&, const Color&, const FillLayer*, const LayoutRect&, Composit… 115 …void paintFillLayer(const PaintInfo&, const Color&, const FillLayer*, const LayoutRect&, Composite… 116 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const LayoutRect&); 218 LayoutRect layoutOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in layoutOverflowRect() 244 LayoutRect logicalLayoutOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in logicalLayoutOverflowRect() 246 LayoutRect result = layoutOverflowRect(lineTop, lineBottom); in logicalLayoutOverflowRect() 252 LayoutRect visualOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in visualOverflowRect() 270 LayoutRect logicalVisualOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in logicalVisualOverflowRect() 272 LayoutRect result = visualOverflowRect(lineTop, lineBottom); in logicalVisualOverflowRect() 278 …void setOverflowFromLogicalRects(const LayoutRect& logicalLayoutOverflow, const LayoutRect& logica… [all …]
|
D | RenderFlowThread.h | 82 …adPortionInRegion(PaintInfo&, RenderRegion*, const LayoutRect& flowThreadPortionRect, const Layout… 83 …TestFlowThreadPortionInRegion(RenderRegion*, const LayoutRect& flowThreadPortionRect, const Layout… 99 void repaintRectangleInRegions(const LayoutRect&) const; 162 …void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& … 163 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox); 188 bool shouldRepaint(const LayoutRect&) const; 191 …LayoutRect computeRegionClippingRect(const LayoutPoint&, const LayoutRect&, const LayoutRect&) con…
|
D | RenderMultiColumnSet.h | 119 virtual void repaintFlowThreadContent(const LayoutRect& repaintRect) const OVERRIDE; 121 …al void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRec… 128 LayoutRect columnRectAt(unsigned index) const; 131 LayoutRect flowThreadPortionRectAt(unsigned index) const; 132 …LayoutRect flowThreadPortionOverflowRect(const LayoutRect& flowThreadPortion, unsigned index, unsi…
|
D | RenderReplaced.cpp | 129 LayoutRect paintRect = LayoutRect(adjustedPaintOffset, size()); in paint() 148 LayoutRect borderRect = LayoutRect(adjustedPaintOffset, size()); in paint() 175 LayoutRect selectionPaintingRect = localSelectionRect(); in paint() 206 LayoutRect localRepaintRect = paintInfo.rect; in shouldPaint() 328 LayoutRect RenderReplaced::replacedContentRect(const LayoutSize* overriddenIntrinsicSize) const in replacedContentRect() 330 LayoutRect contentRect = contentBoxRect(); in replacedContentRect() 343 LayoutRect finalRect = contentRect; in replacedContentRect() 548 LayoutRect RenderReplaced::selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, … in selectionRectForRepaint() 553 return LayoutRect(); in selectionRectForRepaint() 555 LayoutRect rect = localSelectionRect(); in selectionRectForRepaint() [all …]
|
D | RenderLayerRepainter.cpp | 71 LayoutRect oldRepaintRect = m_repaintRect; in repaintAfterLayout() 72 LayoutRect oldOutlineBox = m_outlineBox; in repaintAfterLayout() 143 LayoutRect RenderLayerRepainter::repaintRectIncludingNonCompositingDescendants() const in repaintRectIncludingNonCompositingDescendants() 145 LayoutRect repaintRect = m_repaintRect; in repaintRectIncludingNonCompositingDescendants() 168 void RenderLayerRepainter::setBackingNeedsRepaintInRect(const LayoutRect& r) in setBackingNeedsRepaintInRect() 176 LayoutRect absRect(r); in setBackingNeedsRepaintInRect() 206 void RenderLayerRepainter::setFilterBackendNeedsRepaintingInRect(const LayoutRect& rect) in setFilterBackendNeedsRepaintingInRect() 211 LayoutRect rectForRepaint = rect; in setFilterBackendNeedsRepaintingInRect() 229 …LayoutRect parentLayerRect = m_renderer->localToContainerQuad(repaintQuad, parentLayer->renderer()… in setFilterBackendNeedsRepaintingInRect()
|
D | RenderInline.h | 62 LayoutRect linesVisualOverflowBoundingBox() const; 94 …virtual LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine) OVERRIDE FIN… 103 …virtual void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) co… 115 LayoutRect culledInlineVisualOverflowBoundingBox() const; 145 …virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) c… 146 …virtual LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintContainer, Layou… 147 …virtual void computeRectForRepaint(const RenderLayerModelObject* repaintContainer, LayoutRect&, bo… 153 …virtual LayoutRect frameRectForStickyPositioning() const OVERRIDE FINAL { return linesBoundingBox(… in frameRectForStickyPositioning() 180 …tlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutRect& prevLine, const LayoutRect& t… 181 const LayoutRect& nextLine, const Color);
|
D | RenderObject.h | 124 LayoutRect bounds; 128 typedef WTF::HashMap<const RenderLayer*, Vector<LayoutRect> > LayerHitTestRects; 199 …bool scrollRectToVisible(const LayoutRect&, const ScrollAlignment& alignX = ScrollAlignment::align… 293 void addAbsoluteRectForLayer(LayoutRect& result); 767 LayoutRect paintingRootRect(LayoutRect& topLevelRect); 822 void repaintRectangle(const LayoutRect&) const; 826 …const LayoutRect& oldBounds, const LayoutRect& oldOutlineBox, const LayoutRect* newBoundsPtr = 0, … 834 LayoutRect absoluteClippedOverflowRect() const in absoluteClippedOverflowRect() 839 …virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) c… 840 …virtual LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintContainer, Layou… [all …]
|
D | ScrollBehavior.h | 59 class LayoutRect; variable 67 …static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const LayoutRect& exposeRect, con…
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutRect.h | 43 class PLATFORM_EXPORT LayoutRect { 45 LayoutRect() { } in LayoutRect() function 46 LayoutRect(const LayoutPoint& location, const LayoutSize& size) in LayoutRect() function 48 LayoutRect(LayoutUnit x, LayoutUnit y, LayoutUnit width, LayoutUnit height) in LayoutRect() function 50 LayoutRect(const FloatPoint& location, const FloatSize& size) in LayoutRect() function 52 LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } in LayoutRect() function 54 explicit LayoutRect(const FloatRect&); // don't do this implicitly since it's lossy 137 bool intersects(const LayoutRect&) const; 138 bool contains(const LayoutRect&) const; 146 void intersect(const LayoutRect&); [all …]
|
D | LayoutRect.cpp | 40 LayoutRect::LayoutRect(const FloatRect& r) in LayoutRect() function in WebCore::LayoutRect 46 bool LayoutRect::intersects(const LayoutRect& other) const in intersects() 54 bool LayoutRect::contains(const LayoutRect& other) const in contains() 60 void LayoutRect::intersect(const LayoutRect& other) in intersect() 75 void LayoutRect::unite(const LayoutRect& other) in unite() 92 void LayoutRect::uniteIfNonZero(const LayoutRect& other) in uniteIfNonZero() 109 void LayoutRect::scale(float s) in scale() 115 void LayoutRect::scale(float xAxisScale, float yAxisScale) in scale() 121 LayoutRect unionRect(const Vector<LayoutRect>& rects) in unionRect() 123 LayoutRect result; in unionRect() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | SpatialNavigation.cpp | 45 static RectsAlignment alignmentForRects(FocusDirection, const LayoutRect&, const LayoutRect&, const… 46 static bool areRectsFullyAligned(FocusDirection, const LayoutRect&, const LayoutRect&); 47 static bool areRectsPartiallyAligned(FocusDirection, const LayoutRect&, const LayoutRect&); 48 …ool areRectsMoreThanFullScreenApart(FocusDirection, const LayoutRect& curRect, const LayoutRect& t… 49 static bool isRectInDirection(FocusDirection, const LayoutRect&, const LayoutRect&); 50 static void deflateIfOverlapped(LayoutRect&, LayoutRect&); 51 static LayoutRect rectToAbsoluteCoordinates(Frame* initialFrame, const LayoutRect&); 52 …d entryAndExitPointsForDirection(FocusDirection, const LayoutRect& startingRect, const LayoutRect&… 95 …ignment alignmentForRects(FocusDirection direction, const LayoutRect& curRect, const LayoutRect& t… in alignmentForRects() 115 static inline LayoutUnit start(FocusDirection direction, const LayoutRect& rect) in start() [all …]
|
D | SpatialNavigation.h | 131 LayoutRect rect; 145 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false); 146 LayoutRect frameRectInAbsoluteCoordinates(Frame*); 147 LayoutRect virtualRectForDirection(FocusDirection, const LayoutRect& startingRect, LayoutUnit width… 148 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement*, FocusDirection);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | RenderedDocumentMarker.h | 44 void setRenderedRect(const LayoutRect& r) { m_renderedRect = r; } in setRenderedRect() 45 const LayoutRect& renderedRect() const { return m_renderedRect; } in renderedRect() 46 void invalidate(const LayoutRect&); 50 static const LayoutRect& invalidMarkerRect() in invalidMarkerRect() 52 static const LayoutRect rect = LayoutRect(-1, -1, -1, -1); in invalidMarkerRect() 56 LayoutRect m_renderedRect; 59 inline void RenderedDocumentMarker::invalidate(const LayoutRect& r) in invalidate()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | Caret.cpp | 105 m_caretLocalRect = LayoutRect(); in clearCaretRect() 130 m_caretLocalRect = LayoutRect(); in updateCaretRect() 141 LayoutRect localRect = caretPosition.localCaretRect(renderer); in updateCaretRect() 170 IntRect CaretBase::absoluteBoundsForLocalRect(Node* node, const LayoutRect& rect) const in absoluteBoundsForLocalRect() 176 LayoutRect localRect(rect); in absoluteBoundsForLocalRect() 182 void CaretBase::repaintCaretForLocalRect(Node* node, const LayoutRect& rect) in repaintCaretForLocalRect() 190 LayoutRect inflatedRect = rect; in repaintCaretForLocalRect() 231 …* node, GraphicsContext* context, const LayoutPoint& paintOffset, const LayoutRect& clipRect) const in paintCaret() 236 LayoutRect drawingRect = localCaretRectWithoutUpdate(); in paintCaret() 241 LayoutRect caret = intersection(drawingRect, clipRect); in paintCaret() [all …]
|
D | Caret.h | 51 IntRect absoluteBoundsForLocalRect(Node*, const LayoutRect&) const; 53 void paintCaret(Node*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const; 55 const LayoutRect& localCaretRectWithoutUpdate() const { return m_caretLocalRect; } in localCaretRectWithoutUpdate() 66 static void repaintCaretForLocalRect(Node*, const LayoutRect&); 69 …LayoutRect m_caretLocalRect; // caret rect in coords local to the renderer responsible for paintin… 81 …void paintDragCaret(Frame*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) cons…
|