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

123456789

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DGapRects.h26 #include "core/platform/graphics/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 "core/platform/graphics/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 DLayoutRepainter.h29 #include "core/platform/graphics/LayoutRect.h"
49 LayoutRect m_oldBounds;
50 LayoutRect m_oldOutlineBox;
H A DRenderRegionSet.cpp49 LayoutRect rect(flowThreadPortionRect());
58 LayoutRect layoutRect = flowThread()->layoutOverflowRect();
60 setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow, isHorizontal ? logicalHeightWithOverflow : rect.height()));
H A DRenderOverflow.h24 #include "core/platform/graphics/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; }
65 void addLayoutOverflow(const LayoutRect&);
66 void addVisualOverflow(const LayoutRect&);
67 void addContentsVisualOverflow(const LayoutRect& rect) { m_contentsVisualOverflow.unite(rect); }
69 void setLayoutOverflow(const LayoutRect
[all...]
H A DFilterEffectRenderer.h33 #include "core/platform/graphics/LayoutRect.h"
64 bool prepareFilterEffect(RenderLayer*, const LayoutRect& filterBoxRect, const LayoutRect& dirtyRect, const LayoutRect& layerRepaintRect);
68 const LayoutRect& repaintRect() const { return m_repaintRect; }
73 LayoutRect m_repaintRect;
105 LayoutRect computeSourceImageRectForDirtyRect(const LayoutRect& filterBoxRect, const LayoutRect& dirtyRect);
H A DRenderRegion.h55 void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; }
56 LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; }
57 LayoutRect flowThreadPortionOverflowRect() const;
97 LayoutUnit logicalTopOfFlowThreadContentRect(const LayoutRect&) const;
98 LayoutUnit logicalBottomOfFlowThreadContentRect(const LayoutRect&) const;
142 virtual void repaintFlowThreadContent(const LayoutRect& repaintRect) const;
144 virtual void collectLayerFragments(LayerFragments&, const LayoutRect&, const LayoutRect&) { } argument
152 LayoutRect overflowRectForFlowThreadPortion(const LayoutRect
[all...]
H A DRenderLayerFilterInfo.h35 #include "core/platform/graphics/LayoutRect.h"
57 const LayoutRect& dirtySourceRect() const { return m_dirtySourceRect; }
58 void expandDirtySourceRect(const LayoutRect& rect) { m_dirtySourceRect.unite(rect); }
59 void resetDirtySourceRect() { m_dirtySourceRect = LayoutRect(); }
81 LayoutRect m_dirtySourceRect;
H A DRenderMultiColumnSet.h119 virtual void repaintFlowThreadContent(const LayoutRect& repaintRect) const OVERRIDE;
121 virtual void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRect) OVERRIDE;
128 LayoutRect columnRectAt(unsigned index) const;
131 LayoutRect flowThreadPortionRectAt(unsigned index) const;
132 LayoutRect flowThreadPortionOverflowRect(const LayoutRect& flowThreadPortion, unsigned index, unsigned colCount, LayoutUnit colGap) const;
H A DRenderMultiColumnSet.cpp222 LayoutRect RenderMultiColumnSet::columnRectAt(unsigned index) const
235 return LayoutRect(colLogicalLeft, colLogicalTop, colLogicalWidth, colLogicalHeight);
236 return LayoutRect(colLogicalTop, colLogicalLeft, colLogicalHeight, colLogicalWidth);
241 LayoutRect portionRect(flowThreadPortionRect());
259 LayoutRect RenderMultiColumnSet::flowThreadPortionRectAt(unsigned index) const
261 LayoutRect portionRect = flowThreadPortionRect();
263 portionRect = LayoutRect(portionRect.x(), portionRect.y() + index * computedColumnHeight(), portionRect.width(), computedColumnHeight());
265 portionRect = LayoutRect(portionRect.x() + index * computedColumnHeight(), portionRect.y(), computedColumnHeight(), portionRect.height());
269 LayoutRect RenderMultiColumnSet::flowThreadPortionOverflowRect(const LayoutRect
[all...]
H A DRenderBox.h54 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const OVERRIDE;
145 LayoutRect frameRect() const { return m_frameRect; }
147 void setFrameRect(const LayoutRect& rect) { m_frameRect = rect; }
149 LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); }
150 LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + paddingLeft() + paddingRight(), contentHeight() + paddingTop() + paddingBottom()); }
155 LayoutRect contentBoxRect() const { return LayoutRect(borderLeft() + paddingLeft(), borderTop() + paddingTop(), contentWidth(), contentHeight()); }
163 LayoutRect computedCSSContentBoxRec
[all...]
H A DRenderFlowThread.h83 void paintFlowThreadPortionInRegion(PaintInfo&, RenderRegion*, const LayoutRect& flowThreadPortionRect, const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint&) const;
84 bool hitTestFlowThreadPortionInRegion(RenderRegion*, const LayoutRect& flowThreadPortionRect, const LayoutRect& flowThreadPortionOverflowRect, const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset) const;
100 void repaintRectangleInRegions(const LayoutRect&) const;
161 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRect);
162 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox);
180 bool shouldRepaint(const LayoutRect
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DRenderedDocumentMarker.h44 void setRenderedRect(const LayoutRect& r) { m_renderedRect = r; }
45 const LayoutRect& renderedRect() const { return m_renderedRect; }
46 void invalidate(const LayoutRect&);
50 static const LayoutRect& invalidMarkerRect()
52 static const LayoutRect rect = LayoutRect(-1, -1, -1, -1);
56 LayoutRect m_renderedRect;
59 inline void RenderedDocumentMarker::invalidate(const LayoutRect& r)
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DLayoutRect.cpp32 #include "core/platform/graphics/LayoutRect.h"
43 LayoutRect::LayoutRect(const FloatRect& r) function in class:WebCore::LayoutRect
49 bool LayoutRect::intersects(const LayoutRect& other) const
57 bool LayoutRect::contains(const LayoutRect& other) const
63 void LayoutRect::intersect(const LayoutRect& other)
78 void LayoutRect
[all...]
H A DLayoutRect.h43 class LayoutRect { class in namespace:WebCore
45 LayoutRect() { } function in class:WebCore::LayoutRect
46 LayoutRect(const LayoutPoint& location, const LayoutSize& size) function in class:WebCore::LayoutRect
48 LayoutRect(LayoutUnit x, LayoutUnit y, LayoutUnit width, LayoutUnit height) function in class:WebCore::LayoutRect
50 LayoutRect(const FloatPoint& location, const FloatSize& size) function in class:WebCore::LayoutRect
52 LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } function in class:WebCore::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 DAccessibilityTableHeaderContainer.h49 virtual LayoutRect elementRect() const OVERRIDE;
52 LayoutRect m_headerRect;
H A DAccessibilityTableColumn.h57 virtual LayoutRect elementRect() const OVERRIDE;
61 LayoutRect m_columnRect;
H A DAccessibilitySpinButton.cpp48 LayoutRect AccessibilitySpinButton::elementRect() const
53 return LayoutRect();
97 LayoutRect AccessibilitySpinButtonPart::elementRect() const
102 LayoutRect parentRect = parentObject()->elementRect();
H A DAccessibilityMenuListPopup.h53 virtual LayoutRect elementRect() const OVERRIDE { return LayoutRect(); }
H A DAccessibilityScrollbar.cpp47 LayoutRect AccessibilityScrollbar::elementRect() const
50 return LayoutRect();
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DCaret.h31 #include "core/platform/graphics/LayoutRect.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; }
66 static void repaintCaretForLocalRect(Node*, const LayoutRect&);
69 LayoutRect m_caretLocalRect; // caret rect in coords local to the renderer responsible for painting the caret
81 void paintDragCaret(Frame*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const;
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DSpatialNavigation.h27 #include "core/platform/graphics/LayoutRect.h"
133 LayoutRect rect;
147 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false);
148 LayoutRect frameRectInAbsoluteCoordinates(Frame*);
149 LayoutRect virtualRectForDirection(FocusDirection, const LayoutRect& startingRect, LayoutUnit width = 0);
150 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement*, FocusDirection);
H A DSpatialNavigation.cpp46 static RectsAlignment alignmentForRects(FocusDirection, const LayoutRect&, const LayoutRect&, const LayoutSize& viewSize);
47 static bool areRectsFullyAligned(FocusDirection, const LayoutRect&, const LayoutRect&);
48 static bool areRectsPartiallyAligned(FocusDirection, const LayoutRect&, const LayoutRect&);
49 static bool areRectsMoreThanFullScreenApart(FocusDirection, const LayoutRect& curRect, const LayoutRect& targetRect, const LayoutSize& viewSize);
50 static bool isRectInDirection(FocusDirection, const LayoutRect&, const LayoutRect
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGHiddenContainer.h45 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject*) const OVERRIDE FINAL { return LayoutRect(); }
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DRectangleShape.h71 virtual LayoutRect shapeMarginLogicalBoundingBox() const OVERRIDE { return static_cast<LayoutRect>(shapeMarginBounds()); }
72 virtual LayoutRect shapePaddingLogicalBoundingBox() const OVERRIDE { return static_cast<LayoutRect>(shapePaddingBounds()); }

Completed in 357 milliseconds

123456789