Lines Matching defs:RenderObject
28 #include "RenderObject.h"
92 bool RenderObject::s_affectsParentBlock = false;
94 void* RenderObject::operator new(size_t sz, RenderArena* renderArena) throw()
99 void RenderObject::operator delete(void* ptr, size_t sz)
107 RenderObject* RenderObject::createObject(Node* node, RenderStyle* style)
179 static WTF::RefCountedLeakCounter renderObjectCounter("RenderObject");
182 RenderObject::RenderObject(Node* node)
230 RenderObject::~RenderObject()
239 RenderTheme* RenderObject::theme() const
246 bool RenderObject::isDescendantOf(const RenderObject* obj) const
248 for (const RenderObject* r = this; r; r = r->m_parent) {
255 bool RenderObject::isBody() const
260 bool RenderObject::isHR() const
265 bool RenderObject::isLegend() const
274 bool RenderObject::isHTMLMarquee() const
279 void RenderObject::addChild(RenderObject* newChild, RenderObject* beforeChild)
308 RenderObject* afterChild = beforeChild ? beforeChild->previousSibling() : children->lastChild();
331 void RenderObject::removeChild(RenderObject* oldChild)
347 RenderObject* RenderObject::nextInPreOrder() const
349 if (RenderObject* o = firstChild())
355 RenderObject* RenderObject::nextInPreOrderAfterChildren() const
357 RenderObject* o;
369 RenderObject* RenderObject::nextInPreOrder(const RenderObject* stayWithin) const
371 if (RenderObject* o = firstChild())
377 RenderObject* RenderObject::nextInPreOrderAfterChildren(const RenderObject* stayWithin) const
382 const RenderObject* current = this;
383 RenderObject* next;
392 RenderObject* RenderObject::previousInPreOrder() const
394 if (RenderObject* o = previousSibling()) {
403 RenderObject* RenderObject::childAt(unsigned index) const
405 RenderObject* child = firstChild();
411 RenderObject* RenderObject::firstLeafChild() const
413 RenderObject* r = firstChild();
415 RenderObject* n = 0;
424 RenderObject* RenderObject::lastLeafChild() const
426 RenderObject* r = lastChild();
428 RenderObject* n = 0;
437 static void addLayers(RenderObject* obj, RenderLayer* parentLayer, RenderObject*& newObject,
452 for (RenderObject* curr = obj->firstChild(); curr; curr = curr->nextSibling())
456 void RenderObject::addLayers(RenderLayer* parentLayer, RenderObject* newObject)
461 RenderObject* object = newObject;
466 void RenderObject::removeLayers(RenderLayer* parentLayer)
476 for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling())
480 void RenderObject::moveLayers(RenderLayer* oldParent, RenderLayer* newParent)
494 for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling())
498 RenderLayer* RenderObject::findNextLayer(RenderLayer* parentLayer, RenderObject* startPoint,
513 for (RenderObject* curr = startPoint ? startPoint->nextSibling() : firstChild();
534 RenderLayer* RenderObject::enclosingLayer() const
536 const RenderObject* curr = this;
546 RenderBox* RenderObject::enclosingBox() const
548 RenderObject* curr = const_cast<RenderObject*>(this);
559 RenderBoxModelObject* RenderObject::enclosingBoxModelObject() const
561 RenderObject* curr = const_cast<RenderObject*>(this);
572 RenderBlock* RenderObject::firstLineBlock() const
577 void RenderObject::setPreferredLogicalWidthsDirty(bool b, bool markParents)
585 void RenderObject::invalidateContainerPreferredLogicalWidths()
589 RenderObject* o = isTableCell() ? containingBlock() : container();
593 RenderObject* container = o->isTableCell() ? o->containingBlock() : o->container();
606 void RenderObject::setLayerNeedsFullRepaint()
612 RenderBlock* RenderObject::containingBlock() const
624 RenderObject* o = parent();
660 static bool mustRepaintFillLayers(const RenderObject* renderer, const FillLayer* layer)
683 bool RenderObject::mustRepaintBackgroundOrBorder() const
709 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2,
916 IntRect RenderObject::borderInnerRect(const IntRect& borderRect, unsigned short topWidth, unsigned short bottomWidth, unsigned short leftWidth, unsigned short rightWidth) const
926 void RenderObject::drawArcForBoxSide(GraphicsContext* graphicsContext, int x, int y, float thickness, const IntSize& radius,
931 // At that time, everyone can use RenderObject::drawBoxSideFromPath() instead. This should happen soon.
1010 void RenderObject::paintFocusRing(GraphicsContext* context, int tx, int ty, RenderStyle* style)
1020 void RenderObject::addPDFURLRect(GraphicsContext* context, const IntRect& rect)
1033 void RenderObject::paintOutline(GraphicsContext* graphicsContext, int tx, int ty, int w, int h)
1070 IntRect RenderObject::absoluteBoundingBoxRect(bool useTransforms)
1100 void RenderObject::absoluteFocusRingQuads(Vector<FloatQuad>& quads)
1117 void RenderObject::addAbsoluteRectForLayer(IntRect& result)
1121 for (RenderObject* current = firstChild(); current; current = current->nextSibling())
1125 IntRect RenderObject::paintingRootRect(IntRect& topLevelRect)
1129 for (RenderObject* current = firstChild(); current; current = current->nextSibling())
1134 void RenderObject::paint(PaintInfo& /*paintInfo*/, int /*tx*/, int /*ty*/)
1138 RenderBoxModelObject* RenderObject::containerForRepaint() const
1152 void RenderObject::repaintUsingContainer(RenderBoxModelObject* repaintContainer, const IntRect& r, bool immediate)
1179 void RenderObject::repaint(bool immediate)
1193 void RenderObject::repaintRectangle(const IntRect& r, bool immediate)
1214 bool RenderObject::repaintAfterLayoutIfNeeded(RenderBoxModelObject* repaintContainer, const IntRect& oldBounds, const IntRect& oldOutlineBox, const IntRect* newBoundsPtr, const IntRect* newOutlineBoxRectPtr)
1322 void RenderObject::repaintDuringLayoutIfMoved(const IntRect&)
1326 void RenderObject::repaintOverhangingFloats(bool)
1330 bool RenderObject::checkForRepaintDuringLayout() const
1338 IntRect RenderObject::rectWithOutlineForRepaint(RenderBoxModelObject* repaintContainer, int outlineWidth)
1345 IntRect RenderObject::clippedOverflowRectForRepaint(RenderBoxModelObject*)
1351 void RenderObject::computeRectForRepaint(RenderBoxModelObject* repaintContainer, IntRect& rect, bool fixed)
1356 if (RenderObject* o = parent()) {
1382 void RenderObject::dirtyLinesFromChangedChild(RenderObject*)
1388 void RenderObject::showTreeForThis() const
1394 void RenderObject::showRenderObject() const
1399 void RenderObject::showRenderObject(int printedCharacters) const
1420 void RenderObject::showRenderTreeAndMark(const RenderObject* markedObject1, const char* markedLabel1, const RenderObject* markedObject2, const char* markedLabel2, int depth) const
1434 for (const RenderObject* child = firstChild(); child; child = child->nextSibling())
1440 Color RenderObject::selectionBackgroundColor() const
1456 Color RenderObject::selectionColor(int colorProperty) const
1477 Color RenderObject::selectionForegroundColor() const
1482 Color RenderObject::selectionEmphasisMarkColor() const
1488 Node* RenderObject::draggableNode(bool dhtmlOK, bool uaOK, int x, int y, bool& dhtmlWillDrag) const
1493 for (const RenderObject* curr = this; curr; curr = curr->parent()) {
1524 void RenderObject::selectionStartEnd(int& spos, int& epos) const
1529 void RenderObject::handleDynamicFloatPositionChange()
1548 void RenderObject::setAnimatableStyle(PassRefPtr<RenderStyle> style)
1556 StyleDifference RenderObject::adjustStyleDifference(StyleDifference diff, unsigned contextSensitiveProperties) const
1600 void RenderObject::setStyle(PassRefPtr<RenderStyle> style)
1659 void RenderObject::setStyleInternal(PassRefPtr<RenderStyle> style)
1664 void RenderObject::styleWillChange(StyleDifference diff, const RenderStyle* newStyle)
1755 void RenderObject::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
1790 void RenderObject::updateFillImages(const FillLayer* oldLayers, const FillLayer* newLayers)
1808 void RenderObject::updateImage(StyleImage* oldImage, StyleImage* newImage)
1818 IntRect RenderObject::viewRect() const
1823 FloatPoint RenderObject::localToAbsolute(const FloatPoint& localPoint, bool fixed, bool useTransforms) const
1832 FloatPoint RenderObject::absoluteToLocal(const FloatPoint& containerPoint, bool fixed, bool useTransforms) const
1841 void RenderObject::mapLocalToContainer(RenderBoxModelObject* repaintContainer, bool fixed, bool useTransforms, TransformState& transformState) const
1846 RenderObject* o = parent();
1865 void RenderObject::mapAbsoluteToLocalPoint(bool fixed, bool useTransforms, TransformState& transformState) const
1867 RenderObject* o = parent();
1875 bool RenderObject::shouldUseTransformFromContainer(const RenderObject* containerObject) const
1887 void RenderObject::getTransformFromContainer(const RenderObject* containerObject, const IntSize& offsetInContainer, TransformationMatrix& transform) const
1913 FloatQuad RenderObject::localToContainerQuad(const FloatQuad& localQuad, RenderBoxModelObject* repaintContainer, bool fixed) const
1924 IntSize RenderObject::offsetFromContainer(RenderObject* o, const IntPoint& point) const
1938 IntSize RenderObject::offsetFromAncestorContainer(RenderObject* container) const
1942 const RenderObject* currContainer = this;
1944 RenderObject* nextContainer = currContainer->container();
1958 IntRect RenderObject::localCaretRect(InlineBox*, int, int* extraWidthToEndOfLine)
1966 RenderView* RenderObject::view() const
1971 bool RenderObject::isRooted(RenderView** view)
1973 RenderObject* o = this;
1986 bool RenderObject::hasOutlineAnnotation() const
1991 RenderObject* RenderObject::container(RenderBoxModelObject* repaintContainer, bool* repaintContainerSkipped) const
2005 RenderObject* o = parent();
2039 bool RenderObject::isSelectionBorder() const
2045 void RenderObject::destroy()
2054 // FIXME: RenderObject::destroy should not get called with a renderer whose document
2090 void RenderObject::arenaDelete(RenderArena* arena, void* base)
2123 VisiblePosition RenderObject::positionForCoordinates(int x, int y)
2128 VisiblePosition RenderObject::positionForPoint(const IntPoint&)
2133 void RenderObject::updateDragState(bool dragOn)
2139 for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling())
2143 bool RenderObject::hitTest(const HitTestRequest& request, HitTestResult& result, const IntPoint& point, int tx, int ty, HitTestFilter hitTestFilter)
2166 void RenderObject::updateHitTestResult(HitTestResult& result, const IntPoint& point)
2180 bool RenderObject::nodeAtPoint(const HitTestRequest&, HitTestResult&, int /*x*/, int /*y*/, int /*tx*/, int /*ty*/, HitTestAction)
2185 void RenderObject::scheduleRelayout()
2198 void RenderObject::layout()
2201 RenderObject* child = firstChild();
2210 PassRefPtr<RenderStyle> RenderObject::uncachedFirstLineStyle(RenderStyle* style) const
2231 RenderStyle* RenderObject::firstLineStyleSlowCase() const
2236 const RenderObject* renderer = isText() ? parent() : this;
2252 RenderStyle* RenderObject::getCachedPseudoStyle(PseudoId pseudo, RenderStyle* parentStyle) const
2267 PassRefPtr<RenderStyle> RenderObject::getUncachedPseudoStyle(PseudoId pseudo, RenderStyle* parentStyle, RenderStyle* ownStyle) const
2292 static Color decorationColor(RenderObject* renderer)
2306 void RenderObject::getTextDecorationColors(int decorations, Color& underline, Color& overline,
2309 RenderObject* curr = this;
2344 void RenderObject::addDashboardRegions(Vector<DashboardRegionValue>& regions)
2391 void RenderObject::collectDashboardRegions(Vector<DashboardRegionValue>& regions)
2399 for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling())
2404 bool RenderObject::willRenderImage(CachedImage*)
2415 int RenderObject::maximalOutlineSize(PaintPhase p) const
2422 int RenderObject::caretMinOffset() const
2427 int RenderObject::caretMaxOffset() const
2436 unsigned RenderObject::caretMaxRenderedOffset() const
2441 int RenderObject::previousOffset(int current) const
2446 int RenderObject::previousOffsetForBackwardDeletion(int current) const
2451 int RenderObject::nextOffset(int current) const
2456 void RenderObject::adjustRectForOutlineAndShadow(IntRect& rect) const
2467 AnimationController* RenderObject::animation() const
2472 void RenderObject::imageChanged(CachedImage* image, const IntRect* rect)
2477 RenderBoxModelObject* RenderObject::offsetParent() const
2500 RenderObject* curr = parent();
2527 VisiblePosition RenderObject::createVisiblePosition(int offset, EAffinity affinity)
2551 RenderObject* child = this;
2552 while (RenderObject* parent = child->parent()) {
2554 RenderObject* renderer = child;
2581 RenderObject::createVisiblePosition(const Position& position)
2591 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer()
2597 void RenderObject::setNeedsBoundariesUpdate()
2599 if (RenderObject* renderer = parent())
2603 FloatRect RenderObject::objectBoundingBox() const
2609 FloatRect RenderObject::strokeBoundingBox() const
2617 FloatRect RenderObject::repaintRectInLocalCoordinates() const
2623 AffineTransform RenderObject::localTransform() const
2629 const AffineTransform& RenderObject::localToParentTransform() const
2635 bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&, HitTestAction)
2647 void showTree(const WebCore::RenderObject* ro)
2653 void showRenderTree(const WebCore::RenderObject* object1)
2658 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderObject* object2)
2661 const WebCore::RenderObject* root = object1;