OLD | NEW |
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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 // This returns an IntRect enclosing this object. If this object has an | 773 // This returns an IntRect enclosing this object. If this object has an |
774 // integral size and the position has fractional values, the resultant | 774 // integral size and the position has fractional values, the resultant |
775 // IntRect can be larger than the integral size. | 775 // IntRect can be larger than the integral size. |
776 IntRect absoluteBoundingBoxRect() const; | 776 IntRect absoluteBoundingBoxRect() const; |
777 // FIXME: This function should go away eventually | 777 // FIXME: This function should go away eventually |
778 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; | 778 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; |
779 | 779 |
780 // Build an array of quads in absolute coords for line boxes | 780 // Build an array of quads in absolute coords for line boxes |
781 virtual void absoluteQuads(Vector<FloatQuad>&, bool* /* wasFixed */ = nullpt
r) const { } | 781 virtual void absoluteQuads(Vector<FloatQuad>&, bool* /* wasFixed */ = nullpt
r) const { } |
782 | 782 |
783 virtual IntRect absoluteFocusRingBoundingBoxRect() const; | 783 virtual IntRect absoluteOutlineBoundingBoxRect() const; |
784 | 784 |
785 static FloatRect absoluteBoundingBoxRectForRange(const Range*); | 785 static FloatRect absoluteBoundingBoxRectForRange(const Range*); |
786 | 786 |
787 // the rect that will be painted if this object is passed as the paintingRoo
t | 787 // the rect that will be painted if this object is passed as the paintingRoo
t |
788 IntRect paintingRootRect(IntRect& topLevelRect); | 788 IntRect paintingRootRect(IntRect& topLevelRect); |
789 | 789 |
790 virtual LayoutUnit minPreferredLogicalWidth() const { return 0; } | 790 virtual LayoutUnit minPreferredLogicalWidth() const { return 0; } |
791 virtual LayoutUnit maxPreferredLogicalWidth() const { return 0; } | 791 virtual LayoutUnit maxPreferredLogicalWidth() const { return 0; } |
792 | 792 |
793 const ComputedStyle* style() const { return m_style.get(); } | 793 const ComputedStyle* style() const { return m_style.get(); } |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 | 981 |
982 // Pushes state onto LayoutGeometryMap about how to map coordinates from thi
s layoutObject to its container, or ancestorToStopAt (whichever is encountered f
irst). | 982 // Pushes state onto LayoutGeometryMap about how to map coordinates from thi
s layoutObject to its container, or ancestorToStopAt (whichever is encountered f
irst). |
983 // Returns the layoutObject which was mapped to (container or ancestorToStop
At). | 983 // Returns the layoutObject which was mapped to (container or ancestorToStop
At). |
984 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const; | 984 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const; |
985 | 985 |
986 bool shouldUseTransformFromContainer(const LayoutObject* container) const; | 986 bool shouldUseTransformFromContainer(const LayoutObject* container) const; |
987 void getTransformFromContainer(const LayoutObject* container, const LayoutSi
ze& offsetInContainer, TransformationMatrix&) const; | 987 void getTransformFromContainer(const LayoutObject* container, const LayoutSi
ze& offsetInContainer, TransformationMatrix&) const; |
988 | 988 |
989 bool createsGroup() const { return isTransparent() || hasMask() || hasFilter
() || style()->hasBlendMode(); } | 989 bool createsGroup() const { return isTransparent() || hasMask() || hasFilter
() || style()->hasBlendMode(); } |
990 | 990 |
991 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addit
ionalOffset) const { } | 991 virtual void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additio
nalOffset) const { } |
992 | 992 |
993 // Compute a list of hit-test rectangles per layer rooted at this layoutObje
ct. | 993 // Compute a list of hit-test rectangles per layer rooted at this layoutObje
ct. |
994 virtual void computeLayerHitTestRects(LayerHitTestRects&) const; | 994 virtual void computeLayerHitTestRects(LayerHitTestRects&) const; |
995 | 995 |
996 RespectImageOrientationEnum shouldRespectImageOrientation() const; | 996 RespectImageOrientationEnum shouldRespectImageOrientation() const; |
997 | 997 |
998 bool isRelayoutBoundaryForInspector() const; | 998 bool isRelayoutBoundaryForInspector() const; |
999 | 999 |
1000 // The previous paint invalidation rect in the object's previous paint backi
ng. | 1000 // The previous paint invalidation rect in the object's previous paint backi
ng. |
1001 const LayoutRect& previousPaintInvalidationRect() const { return m_previousP
aintInvalidationRect; } | 1001 const LayoutRect& previousPaintInvalidationRect() const { return m_previousP
aintInvalidationRect; } |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1657 void showTree(const blink::LayoutObject*); | 1657 void showTree(const blink::LayoutObject*); |
1658 void showLineTree(const blink::LayoutObject*); | 1658 void showLineTree(const blink::LayoutObject*); |
1659 void showLayoutTree(const blink::LayoutObject* object1); | 1659 void showLayoutTree(const blink::LayoutObject* object1); |
1660 // We don't make object2 an optional parameter so that showLayoutTree | 1660 // We don't make object2 an optional parameter so that showLayoutTree |
1661 // can be called from gdb easily. | 1661 // can be called from gdb easily. |
1662 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1662 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
1663 | 1663 |
1664 #endif | 1664 #endif |
1665 | 1665 |
1666 #endif // LayoutObject_h | 1666 #endif // LayoutObject_h |
OLD | NEW |