Searched refs:LayoutRect (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DGapRects.h26 #include "platform/geometry/LayoutRect.h"
31 const LayoutRect& left() const { return m_left; }
32 const LayoutRect& center() const { return m_center; }
33 const LayoutRect& right() const { return m_right; }
35 void uniteLeft(const LayoutRect& r) { m_left.unite(r); }
36 void uniteCenter(const LayoutRect& r) { m_center.unite(r); }
37 void uniteRight(const LayoutRect& r) { m_right.unite(r); }
40 operator LayoutRect() const
42 LayoutRect result = m_left;
55 LayoutRect m_lef
[all...]
H A DRenderOverflowTest.cpp34 #include "platform/geometry/LayoutRect.h"
43 void PrintTo(const LayoutRect& rect, std::ostream* os)
45 *os << "LayoutRect("
56 LayoutRect initialLayoutOverflow()
58 return LayoutRect(10, 10, 80, 80);
61 LayoutRect initialVisualOverflow()
63 return LayoutRect(0, 0, 100, 100);
81 m_overflow.addLayoutOverflow(LayoutRect(0, 10, 30, 10));
82 EXPECT_EQ(LayoutRect(0, 10, 90, 80), m_overflow.layoutOverflowRect());
87 m_overflow.addLayoutOverflow(LayoutRect(5
[all...]
H A DRenderOverflow.h24 #include "platform/geometry/LayoutRect.h"
43 RenderOverflow(const LayoutRect& layoutRect, const LayoutRect& visualRect)
49 const LayoutRect layoutOverflowRect() const { return m_layoutOverflow; }
50 const LayoutRect visualOverflowRect() const { return m_visualOverflow; }
51 LayoutRect contentsVisualOverflowRect() const { return m_contentsVisualOverflow; }
55 void addLayoutOverflow(const LayoutRect&);
56 void addVisualOverflow(const LayoutRect&);
57 void addContentsVisualOverflow(const LayoutRect& rect) { m_contentsVisualOverflow.unite(rect); }
59 void setLayoutOverflow(const LayoutRect
[all...]
H A DRenderRegion.h48 void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; }
49 LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; }
50 LayoutRect flowThreadPortionOverflowRect() const;
75 LayoutRect overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, bool isFirstPortion, bool isLastPortion) const;
76 void paintInvalidationOfFlowThreadContentRectangle(const LayoutRect& paintInvalidationRect, const LayoutRect& flowThreadPortionRect,
77 const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint& regionLocation) const;
86 LayoutRect m_flowThreadPortionRect;
H A DRenderRegion.cpp61 LayoutRect RenderRegion::flowThreadPortionOverflowRect() const
66 LayoutRect RenderRegion::overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, bool isFirstPortion, bool isLastPortion) const
73 LayoutRect flowThreadOverflow = m_flowThread->visualOverflowRect();
76 LayoutRect clipRect;
82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
122 void RenderRegion::paintInvalidationOfFlowThreadContentRectangle(const LayoutRect& paintInvalidationRect, const LayoutRect& flowThreadPortionRect, const LayoutRect
[all...]
H A DClipRect.h29 #include "platform/geometry/LayoutRect.h"
42 ClipRect(const LayoutRect& rect)
47 const LayoutRect& rect() const { return m_rect; }
48 void setRect(const LayoutRect& rect) { m_rect = rect; }
55 bool operator!=(const LayoutRect& otherRect) const { return rect() != otherRect; }
57 void intersect(const LayoutRect& other) { m_rect.intersect(other); }
69 bool intersects(const LayoutRect& rect) const { return m_rect.intersects(rect); }
73 LayoutRect m_rect;
H A DFilterEffectRenderer.h32 #include "platform/geometry/LayoutRect.h"
60 bool prepareFilterEffect(RenderLayer*, const LayoutRect& filterBoxRect, const LayoutRect& dirtyRect);
64 const LayoutRect& paintInvalidationRect() const { return m_paintInvalidationRect; }
69 LayoutRect m_paintInvalidationRect;
102 LayoutRect computeSourceImageRectForDirtyRect(const LayoutRect& filterBoxRect, const LayoutRect& dirtyRect);
H A DLayerFragment.h41 void setRects(const LayoutRect& bounds, const ClipRect& background, const ClipRect& foreground, const ClipRect& outline)
58 void intersect(const LayoutRect& rect)
66 LayoutRect layerBounds;
76 LayoutRect paginationClip;
H A DScrollAlignment.h59 class LayoutRect;
67 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const LayoutRect& exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY);
H A DRenderMultiColumnSet.cpp77 LayoutRect portionRect(flowThreadPortionRectAt(columnIndex));
79 LayoutRect columnRect(columnRectAt(columnIndex));
275 LayoutRect rect(flowThreadPortionRect());
284 LayoutRect layoutRect = flowThread()->layoutOverflowRect();
286 setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow, isHorizontal ? logicalHeightWithOverflow : rect.height()));
334 LayoutRect RenderMultiColumnSet::columnRectAt(unsigned index) const
352 return LayoutRect(colLogicalLeft, colLogicalTop, colLogicalWidth, colLogicalHeight);
353 return LayoutRect(colLogicalTop, colLogicalLeft, colLogicalHeight, colLogicalWidth);
358 LayoutRect portionRect(flowThreadPortionRect());
376 LayoutRect RenderMultiColumnSe
[all...]
H A DRenderBox.h86 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const OVERRIDE;
177 LayoutRect frameRect() const { return m_frameRect; }
179 void setFrameRect(const LayoutRect& rect) { m_frameRect = rect; }
181 LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); }
182 LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + paddingLeft() + paddingRight(), contentHeight() + paddingTop() + paddingBottom()); }
187 LayoutRect contentBoxRect() const { return LayoutRect(borderLeft() + paddingLeft(), borderTop() + paddingTop(), contentWidth(), contentHeight()); }
195 LayoutRect computedCSSContentBoxRec
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DRenderedDocumentMarker.h31 #include "platform/geometry/LayoutRect.h"
44 void setRenderedRect(const LayoutRect& r) { m_renderedRect = r; }
45 const LayoutRect& renderedRect() const { return m_renderedRect; }
46 void invalidate(const LayoutRect&);
56 static const LayoutRect& invalidMarkerRect()
58 static const LayoutRect rect = LayoutRect(-1, -1, -1, -1);
62 LayoutRect m_renderedRect;
65 inline void RenderedDocumentMarker::invalidate(const LayoutRect& r)
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DInlinePainter.h15 class LayoutRect;
27 void paintOutlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutRect& prevLine, const LayoutRect& thisLine,
28 const LayoutRect& nextLine, const Color);
H A DInlineFlowBoxPainter.h17 class LayoutRect;
30 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, CompositeOperator = CompositeSourceOver);
31 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, CompositeOperator);
32 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const LayoutRect&);
33 LayoutRect roundedFrameRectClampedToLineTopAndBottomIfNeeded() const;
H A DBoxPainter.h26 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, BackgroundBleedAvoidance = BackgroundBleedNone, CompositeOperator = CompositeSourceOver, RenderObject* backgroundObject = 0);
27 void paintMaskImages(const PaintInfo&, const LayoutRect&);
28 void paintBoxDecorationBackgroundWithRect(PaintInfo&, const LayoutPoint&, const LayoutRect&);
29 static void paintFillLayerExtended(RenderBoxModelObject&, const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox* = 0, const LayoutSize& = LayoutSize(), CompositeOperator = CompositeSourceOver, RenderObject* backgroundObject = 0, bool skipBaseColor = false);
30 static void calculateBackgroundImageGeometry(RenderBoxModelObject&, const RenderLayerModelObject* paintContainer, const FillLayer&, const LayoutRect& paintRect, BackgroundImageGeometry&, RenderObject* = 0);
32 static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const RoundedRect& clipRect);
33 static bool paintNinePieceImage(RenderBoxModelObject&, GraphicsContext*, const LayoutRect&, const RenderStyle*, const NinePieceImage&, CompositeOperator = CompositeSourceOver);
34 static void paintBorder(RenderBoxModelObject&, const PaintInfo&, const LayoutRect&, const RenderStyle*, BackgroundBleedAvoidance = BackgroundBleedNone, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true);
35 static void paintBoxShadow(const PaintInfo&, const LayoutRect&, const RenderStyle*, ShadowStyle, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true);
39 void paintBackground(const PaintInfo&, const LayoutRect
[all...]
H A DImagePainter.h13 class LayoutRect;
22 void paintIntoRect(GraphicsContext*, const LayoutRect&);
H A DVideoPainter.h13 class LayoutRect;
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DLayoutRect.cpp32 #include "platform/geometry/LayoutRect.h"
41 LayoutRect::LayoutRect(const FloatRect& r) function in class:blink::LayoutRect
47 bool LayoutRect::intersects(const LayoutRect& other) const
55 bool LayoutRect::contains(const LayoutRect& other) const
61 void LayoutRect::intersect(const LayoutRect& other)
76 void LayoutRect
[all...]
H A DLayoutRect.h43 class PLATFORM_EXPORT LayoutRect { class in namespace:blink
45 LayoutRect() { } function in class:blink::LayoutRect
46 LayoutRect(const LayoutPoint& location, const LayoutSize& size) function in class:blink::LayoutRect
48 LayoutRect(LayoutUnit x, LayoutUnit y, LayoutUnit width, LayoutUnit height) function in class:blink::LayoutRect
50 LayoutRect(const FloatPoint& location, const FloatSize& size) function in class:blink::LayoutRect
52 LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } function in class:blink::LayoutRect
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...]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXTableHeaderContainer.h49 virtual LayoutRect elementRect() const OVERRIDE;
52 LayoutRect m_headerRect;
H A DAXSpinButton.cpp48 LayoutRect AXSpinButton::elementRect() const
53 return LayoutRect();
94 LayoutRect AXSpinButtonPart::elementRect() const
99 LayoutRect parentRect = parentObject()->elementRect();
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DCaret.h31 #include "platform/geometry/LayoutRect.h"
56 IntRect absoluteBoundsForLocalRect(Node*, const LayoutRect&) const;
58 void paintCaret(Node*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const;
60 const LayoutRect& localCaretRectWithoutUpdate() const { return m_caretLocalRect; }
71 static void invalidateLocalCaretRect(Node*, const LayoutRect&);
74 LayoutRect m_caretLocalRect; // caret rect in coords local to the renderer responsible for painting the caret
86 void paintDragCaret(LocalFrame*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const;
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DSpatialNavigation.h26 #include "platform/geometry/LayoutRect.h"
126 LayoutRect rect;
140 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false);
141 LayoutRect frameRectInAbsoluteCoordinates(LocalFrame*);
142 LayoutRect virtualRectForDirection(FocusType, const LayoutRect& startingRect, LayoutUnit width = 0);
143 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement&, FocusType);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGHiddenContainer.h45 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject*, const PaintInvalidationState* = 0) const OVERRIDE FINAL { return LayoutRect(); }
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DShape.h35 #include "platform/geometry/LayoutRect.h"
76 static PassOwnPtr<Shape> createRasterShape(Image*, float threshold, const LayoutRect& imageRect, const LayoutRect& marginRect, WritingMode, float margin);
82 virtual LayoutRect shapeMarginLogicalBoundingBox() const = 0;
93 bool lineOverlapsBoundingBox(LayoutUnit lineTop, LayoutUnit lineHeight, const LayoutRect& rect) const

Completed in 286 milliseconds

1234567891011>>