Home
last modified time | relevance | path

Searched refs:RenderBox (Results 1 – 25 of 146) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderFlexibleBox.h79 typedef HashMap<const RenderBox*, LayoutUnit> InflexibleFlexItemSize;
80 typedef Vector<RenderBox*> OrderedFlexItemList;
88 bool hasOrthogonalFlow(RenderBox& child) const;
92 Length flexBasisForChild(RenderBox& child) const;
93 LayoutUnit crossAxisExtentForChild(RenderBox& child) const;
94 LayoutUnit crossAxisIntrinsicExtentForChild(RenderBox& child) const;
95 LayoutUnit childIntrinsicHeight(RenderBox& child) const;
96 LayoutUnit childIntrinsicWidth(RenderBox& child) const;
97 LayoutUnit mainAxisExtentForChild(RenderBox& child) const;
102 LayoutUnit computeMainAxisExtentForChild(RenderBox& child, SizeType, const Length& size);
[all …]
DRenderGrid.h55 typedef Vector<RenderBox*, 1> GridCell;
57 const Vector<RenderBox*>& itemsOverflowingGridArea() { return m_gridItemsOverflowingGridArea; } in itemsOverflowingGridArea()
58 …int paintIndexForGridItem(const RenderBox* renderBox) { return m_gridItemsIndexesMap.get(renderBox… in paintIndexForGridItem()
68 void addChildToIndexesMap(RenderBox&);
87 void insertItemIntoGrid(RenderBox&, const GridCoordinate&);
90 …PassOwnPtr<GridCoordinate> createEmptyGridAreaAtSpecifiedPositionsOutsideGrid(const RenderBox&, Gr…
91 void placeSpecifiedMajorAxisItemsOnGrid(const Vector<RenderBox*>&);
92 void placeAutoMajorAxisItemsOnGrid(const Vector<RenderBox*>&);
93 void placeAutoMajorAxisItemOnGrid(RenderBox&, std::pair<size_t, size_t>& autoPlacementCursor);
100 …typedef LayoutUnit (RenderGrid::* SizingFunction)(RenderBox&, GridTrackSizingDirection, Vector<Gri…
[all …]
DOrderIterator.h40 class RenderBox; variable
47 OrderIterator(const RenderBox*);
49 RenderBox* currentChild() const { return m_currentChild; } in currentChild()
50 RenderBox* first();
51 RenderBox* next();
55 const RenderBox* m_containerBox;
57 RenderBox* m_currentChild;
75 void collectChild(const RenderBox*);
DRenderBox.cpp69 typedef WTF::HashMap<const RenderBox*, LayoutUnit> OverrideSizeMap;
82 static bool skipBodyBackground(const RenderBox* bodyElementRenderer) in skipBodyBackground()
93 RenderBox::RenderBox(ContainerNode* node) in RenderBox() function in blink::RenderBox
102 void RenderBox::willBeDestroyed() in willBeDestroyed()
114 void RenderBox::removeFloatingOrPositionedChildFromBlockLists() in removeFloatingOrPositionedChildFromBlockLists()
141 void RenderBox::styleWillChange(StyleDifference diff, const RenderStyle& newStyle) in styleWillChange()
175 void RenderBox::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) in styleDidChange()
221 void RenderBox::updateShapeOutsideInfoAfterStyleChange(const RenderStyle& style, const RenderStyle*… in updateShapeOutsideInfoAfterStyleChange()
245 void RenderBox::updateGridPositionAfterStyleChange(const RenderStyle* oldStyle) in updateGridPositionAfterStyleChange()
263 void RenderBox::updateFromStyle() in updateFromStyle()
[all …]
DRenderBlockFlow.h103 void markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove = 0, bool inLayout = true);
104 void markSiblingsWithFloatsForLayout(RenderBox* floatToRemove = 0);
107 bool containsFloat(RenderBox*) const;
161 void setStaticInlinePositionForChild(RenderBox*, LayoutUnit inlinePosition);
162 void updateStaticInlinePositionForChild(RenderBox*, LayoutUnit logicalTop);
230 void setLogicalLeftForChild(RenderBox* child, LayoutUnit logicalLeft);
231 void setLogicalTopForChild(RenderBox* child, LayoutUnit logicalTop);
232 void determineLogicalLeftPositionForChild(RenderBox* child);
238 void layoutBlockChild(RenderBox* child, MarginInfo&, LayoutUnit& previousFloatLogicalBottom);
239 void adjustPositionedBlock(RenderBox* child, const MarginInfo&);
[all …]
DRenderBlock.h49 typedef WTF::ListHashSet<RenderBox*, 16> TrackedRendererListHashSet;
51 typedef WTF::HashMap<const RenderBox*, OwnPtr<HashSet<RenderBlock*> > > TrackedContainerMap;
60 class RenderBlock : public RenderBox {
107 void insertPositionedObject(RenderBox*);
108 static void removePositionedObject(RenderBox*);
118 void addPercentHeightDescendant(RenderBox*);
119 static void removePercentHeightDescendant(RenderBox*);
121 static bool hasPercentHeightDescendant(RenderBox*);
122 static void clearPercentHeightDescendantsFrom(RenderBox*);
123 static void removePercentHeightDescendantIfNeeded(RenderBox*);
[all …]
DFloatingObjects.h36 class RenderBox; variable
52 static PassOwnPtr<FloatingObject> create(RenderBox*);
59 RenderBox* renderer() const { return m_renderer; } in renderer()
97 explicit FloatingObject(RenderBox*);
98 FloatingObject(RenderBox*, Type, const LayoutRect&, bool shouldPaint, bool isDescendant);
100 RenderBox* m_renderer;
115 …static unsigned hash(FloatingObject* key) { return DefaultHash<RenderBox*>::Hash::hash(key->render… in hash()
125 static unsigned hash(RenderBox* key) { return DefaultHash<RenderBox*>::Hash::hash(key); } in hash()
126 static bool equal(FloatingObject* a, RenderBox* b) { return a->renderer() == b; } in equal()
127 static bool equal(const OwnPtr<FloatingObject>& a, RenderBox* b) { return a->renderer() == b; } in equal()
[all …]
DRenderFlexibleBox.cpp61 Violation(RenderBox* child, LayoutUnit childSize) in Violation()
67 RenderBox* child;
101 for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) { in computeIntrinsicLogicalWidths()
131 static int synthesizedBaselineFromContentBox(const RenderBox& box, LineDirectionMode direction) in synthesizedBaselineFromContentBox()
150 RenderBox* baselineChild = 0; in firstLineBoxBaseline()
152 for (RenderBox* child = m_orderIterator.first(); child; child = m_orderIterator.next()) { in firstLineBoxBaseline()
217 for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) { in styleDidChange()
275 for (RenderBox* child = m_orderIterator.first(); child; child = m_orderIterator.next()) { in appendChildFrameRects()
303 for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) { in clientLogicalBottomAfterRepositioning()
312 bool RenderFlexibleBox::hasOrthogonalFlow(RenderBox& child) const in hasOrthogonalFlow()
[all …]
DRenderDeprecatedFlexibleBox.cpp51 RenderBox* child = m_box->firstChildBox(); in FlexBoxIterator()
68 RenderBox* first() in first()
74 RenderBox* next() in next()
113 RenderBox* m_currentChild;
142 static LayoutUnit marginWidthForChild(RenderBox* child) in marginWidthForChild()
163 static LayoutUnit contentWidthForChild(RenderBox* child) in contentWidthForChild()
170 static LayoutUnit contentHeightForChild(RenderBox* child) in contentHeightForChild()
189 for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) { in computeIntrinsicLogicalWidths()
201 for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) { in computeIntrinsicLogicalWidths()
306 for (RenderBox* child = iterator.first(); child; child = iterator.next()) { in gatherFlexChildrenInfo()
[all …]
DRenderLayerReflectionInfo.h60 explicit RenderLayerReflectionInfo(RenderBox&);
76 RenderBox& box() { return *m_box; } in box()
77 const RenderBox& box() const { return *m_box; } in box()
79 RawPtrWillBeMember<RenderBox> m_box;
DOrderIterator.cpp38 OrderIterator::OrderIterator(const RenderBox* containerBox) in OrderIterator()
45 RenderBox* OrderIterator::first() in first()
51 RenderBox* OrderIterator::next() in next()
87 void OrderIteratorPopulator::collectChild(const RenderBox* child) in collectChild()
DRenderBox.h70 class RenderBox : public RenderBoxModelObject {
72 explicit RenderBox(ContainerNode*);
89 RenderBox* firstChildBox() const;
90 RenderBox* lastChildBox() const;
200 RenderBox* previousSiblingBox() const;
201 RenderBox* nextSiblingBox() const;
202 RenderBox* parentBox() const;
231 …void addOverflowFromChild(RenderBox* child) { addOverflowFromChild(child, child->locationOffset())… in addOverflowFromChild()
232 void addOverflowFromChild(RenderBox* child, const LayoutSize& delta);
479 static RenderBox* findAutoscrollable(RenderObject*);
[all …]
DLayoutState.h37 class RenderBox; variable
50 …LayoutState(RenderBox&, const LayoutSize& offset, LayoutUnit pageLogicalHeight = 0, bool pageHeigh…
61 LayoutUnit pageLogicalOffset(const RenderBox&, const LayoutUnit& childLogicalOffset) const;
63 void addForcedColumnBreak(const RenderBox&, const LayoutUnit& childLogicalOffset);
DRenderGrid.cpp109 RenderBox* nextGridItem() in nextGridItem()
235 RenderBox* newChildBox = toRenderBox(newChild); in addChild()
248 void RenderGrid::addChildToIndexesMap(RenderBox& child) in addChildToIndexesMap()
251 RenderBox* sibling = child.nextSiblingBox(); in addChildToIndexesMap()
285 const RenderBox* childBox = toRenderBox(child); in removeChild()
486 while (RenderBox* gridItem = iterator.nextGridItem()) { in computeUsedBreadthOfGridTracks()
615 LayoutUnit RenderGrid::logicalHeightForChild(RenderBox& child, Vector<GridTrack>& columnTracks) in logicalHeightForChild()
631 LayoutUnit RenderGrid::minContentForChild(RenderBox& child, GridTrackSizingDirection direction, Vec… in minContentForChild()
647 LayoutUnit RenderGrid::maxContentForChild(RenderBox& child, GridTrackSizingDirection direction, Vec… in maxContentForChild()
663 size_t RenderGrid::gridItemSpan(const RenderBox& child, GridTrackSizingDirection direction) in gridItemSpan()
[all …]
DRenderTableCol.cpp39 : RenderBox(element) in RenderTableCol()
50 RenderBox::trace(visitor); in trace()
55 RenderBox::styleDidChange(diff, oldStyle); in styleDidChange()
80 RenderBox::insertedIntoTree(); in insertedIntoTree()
86 RenderBox::willBeRemovedFromTree(); in willBeRemovedFromTree()
DRenderTableRow.cpp44 : RenderBox(element) in RenderTableRow()
54 RenderBox::trace(visitor); in trace()
59 RenderBox::willBeRemovedFromTree(); in willBeRemovedFromTree()
76 RenderBox::styleDidChange(diff, oldStyle); in styleDidChange()
92 … for (RenderBox* childBox = firstChildBox(); childBox; childBox = childBox->nextSiblingBox()) { in styleDidChange()
159 RenderBox::addChild(cell, beforeChild); in addChild()
DRenderFlowThread.h120 bool cachedOffsetFromLogicalTopOfFirstRegion(const RenderBox*, LayoutUnit&) const;
121 void setOffsetFromLogicalTopOfFirstRegion(const RenderBox*, LayoutUnit);
122 void clearOffsetFromLogicalTopOfFirstRegion(const RenderBox*);
124 const RenderBox* currentStatePusherRenderBox() const;
180 typedef HashMap<const RenderBox*, LayoutUnit> RenderBoxToOffsetMap;
DRenderReplaced.cpp43 : RenderBox(element) in RenderReplaced()
50 : RenderBox(element) in RenderReplaced()
65 RenderBox::willBeDestroyed(); in willBeDestroyed()
70 RenderBox::styleDidChange(diff, oldStyle); in styleDidChange()
244 void RenderReplaced::computeAspectRatioInformationForRenderBox(RenderBox* contentRenderer, FloatSiz… in computeAspectRatioInformationForRenderBox()
282 …constrainedSize.setWidth(RenderBox::computeReplacedLogicalHeight() * intrinsicSize.width() / intri… in computeAspectRatioInformationForRenderBox()
283 …constrainedSize.setHeight(RenderBox::computeReplacedLogicalWidth() * intrinsicSize.height() / intr… in computeAspectRatioInformationForRenderBox()
343 RenderBox* contentRenderer = embeddedContentBox(); in computeReplacedLogicalWidth()
406 RenderBox* contentRenderer = embeddedContentBox(); in computeReplacedLogicalHeight()
495 return RenderBox::positionForPoint(point); in positionForPoint()
[all …]
DRenderSearchField.cpp61 if (RenderBox* decorationRenderer = searchDecoration ? searchDecoration->renderBox() : 0) { in computeControlLogicalHeight()
67 if (RenderBox* cancelRenderer = cancelButton ? cancelButton->renderBox() : 0) { in computeControlLogicalHeight()
81 void RenderSearchField::centerContainerIfNeeded(RenderBox* containerRenderer) const in centerContainerIfNeeded()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShapeOutsideInfo.h43 class RenderBox; variable
95 …static PassOwnPtr<ShapeOutsideInfo> createInfo(const RenderBox& renderer) { return adoptPtr(new Sh… in createInfo()
96 static bool isEnabledFor(const RenderBox&);
100 static ShapeOutsideInfo& ensureInfo(const RenderBox& key) in ensureInfo()
108 static void removeInfo(const RenderBox& key) { infoMap().remove(&key); } in removeInfo()
109 static ShapeOutsideInfo* info(const RenderBox& key) { return infoMap().get(&key); } in info()
122 ShapeOutsideInfo(const RenderBox& renderer) in ShapeOutsideInfo()
133 typedef HashMap<const RenderBox*, OwnPtr<ShapeOutsideInfo> > InfoMap;
140 const RenderBox& m_renderer;
/external/chromium_org/third_party/WebKit/Source/core/paint/
DGridPainter.cpp31 …bool operator()(const std::pair<RenderBox*, size_t>& firstChild, const std::pair<RenderBox*, size_… in operator ()() argument
50 Vector<std::pair<RenderBox*, size_t> > gridItemsToBePainted; in paintChildren()
54 … const Vector<RenderBox*, 1>& children = m_renderGrid.gridCell(row.toInt(), column.toInt()); in paintChildren()
60 …for (Vector<RenderBox*>::const_iterator it = m_renderGrid.itemsOverflowingGridArea().begin(); it !… in paintChildren()
69 RenderBox* previous = 0; in paintChildren()
70 …for (Vector<std::pair<RenderBox*, size_t> >::const_iterator it = gridItemsToBePainted.begin(); it … in paintChildren()
73 RenderBox* current = it->first; in paintChildren()
82 void GridPainter::paintChild(RenderBox& child, PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintChild()
DBlockPainter.h16 class RenderBox; variable
26 void paintChildAsInlineBlock(RenderBox*, PaintInfo&, const LayoutPoint&);
42 void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&);
/external/chromium_org/third_party/WebKit/Source/core/page/
DAutoscrollController.h39 class RenderBox; variable
59 bool autoscrollInProgress(const RenderBox*) const;
68 void startPanScrolling(RenderBox*, const IntPoint&);
81 RenderBox* m_autoscrollRenderer;
DAutoscrollController.cpp65 bool AutoscrollController::autoscrollInProgress(const RenderBox* renderer) const in autoscrollInProgress()
75 RenderBox* scrollable = RenderBox::findAutoscrollable(renderer); in startAutoscrollForSelection()
87 RenderBox* scrollable = m_autoscrollRenderer; in stopAutoscroll()
143 RenderBox* scrollable = RenderBox::findAutoscrollable(dropTargetNode->renderer()); in updateDragAndDrop()
195 void AutoscrollController::startPanScrolling(RenderBox* scrollable, const IntPoint& lastKnownMouseP… in startPanScrolling()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DGridResolvedPosition.h13 class RenderBox; variable
46 …static void initialAndFinalPositionsFromStyle(const RenderStyle&, const RenderBox&, GridTrackSizin…
47 …resolveGridPositionsFromAutoPlacementPosition(const RenderStyle&, const RenderBox&, GridTrackSizin…
48 …static PassOwnPtr<GridSpan> resolveGridPositionsFromStyle(const RenderStyle&, const RenderBox&, Gr…

123456