Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 1833493003: Remove ForceHorriblySlowRectMapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pi
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after
1599 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers ); 1599 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers );
1600 1600
1601 void setNeedsOverflowRecalcAfterStyleChange(); 1601 void setNeedsOverflowRecalcAfterStyleChange();
1602 1602
1603 void markContainerChainForLayout(bool scheduleRelayout, SubtreeLayoutScope*) ; 1603 void markContainerChainForLayout(bool scheduleRelayout, SubtreeLayoutScope*) ;
1604 1604
1605 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox 1605 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox
1606 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700. 1606 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700.
1607 inline void markContainingBlocksForOverflowRecalc(); 1607 inline void markContainingBlocksForOverflowRecalc();
1608 1608
1609 inline void markContainerChainForPaintInvalidation(); 1609 inline void markAncestorsForPaintInvalidation();
1610 1610
1611 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject& paintInv alidationContainer, const PaintInvalidationState&, PaintInvalidationReason); 1611 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject& paintInv alidationContainer, const PaintInvalidationState&, PaintInvalidationReason);
1612 1612
1613 inline void invalidateContainerPreferredLogicalWidths(); 1613 inline void invalidateContainerPreferredLogicalWidths();
1614 1614
1615 void invalidatePaintIncludingNonSelfPaintingLayerDescendantsInternal(const L ayoutBoxModelObject& paintInvalidationContainer); 1615 void invalidatePaintIncludingNonSelfPaintingLayerDescendantsInternal(const L ayoutBoxModelObject& paintInvalidationContainer);
1616 1616
1617 // The caller should ensure the enclosing layer has been setNeedsRepaint bef ore calling this function. 1617 // The caller should ensure the enclosing layer has been setNeedsRepaint bef ore calling this function.
1618 void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObje ct& paintInvalidationContainer, PaintInvalidationReason); 1618 void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObje ct& paintInvalidationContainer, PaintInvalidationReason);
1619 1619
(...skipping 18 matching lines...) Expand all
1638 void checkBlockPositionedObjectsNeedLayout(); 1638 void checkBlockPositionedObjectsNeedLayout();
1639 #endif 1639 #endif
1640 1640
1641 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot()) ; } 1641 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot()) ; }
1642 1642
1643 static bool isAllowedToModifyLayoutTreeStructure(Document&); 1643 static bool isAllowedToModifyLayoutTreeStructure(Document&);
1644 1644
1645 // The passed rect is mutated into the coordinate space of the paint invalid ation container. 1645 // The passed rect is mutated into the coordinate space of the paint invalid ation container.
1646 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec t&) const; 1646 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec t&) const;
1647 1647
1648 LayoutObject* parentCrossingFrameBoundaries() const;
1649
1648 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni t::max(), LayoutUnit::max()); } 1650 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni t::max(), LayoutUnit::max()); }
1649 1651
1650 RefPtr<ComputedStyle> m_style; 1652 RefPtr<ComputedStyle> m_style;
1651 1653
1652 // Oilpan: This untraced pointer to the owning Node is considered safe. 1654 // Oilpan: This untraced pointer to the owning Node is considered safe.
1653 RawPtrWillBeUntracedMember<Node> m_node; 1655 RawPtrWillBeUntracedMember<Node> m_node;
1654 1656
1655 LayoutObject* m_parent; 1657 LayoutObject* m_parent;
1656 LayoutObject* m_previous; 1658 LayoutObject* m_previous;
1657 LayoutObject* m_next; 1659 LayoutObject* m_next;
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 void showTree(const blink::LayoutObject*); 2168 void showTree(const blink::LayoutObject*);
2167 void showLineTree(const blink::LayoutObject*); 2169 void showLineTree(const blink::LayoutObject*);
2168 void showLayoutTree(const blink::LayoutObject* object1); 2170 void showLayoutTree(const blink::LayoutObject* object1);
2169 // We don't make object2 an optional parameter so that showLayoutTree 2171 // We don't make object2 an optional parameter so that showLayoutTree
2170 // can be called from gdb easily. 2172 // can be called from gdb easily.
2171 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2173 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2172 2174
2173 #endif 2175 #endif
2174 2176
2175 #endif // LayoutObject_h 2177 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698