| 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 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 // Passing null for |ancestor| behaves the same as localToAncestorQuad. | 999 // Passing null for |ancestor| behaves the same as localToAncestorQuad. |
| 1000 TransformationMatrix localToAncestorTransform(const LayoutBoxModelObject* an
cestor, MapCoordinatesFlags = 0, bool* wasFixed = nullptr) const; | 1000 TransformationMatrix localToAncestorTransform(const LayoutBoxModelObject* an
cestor, MapCoordinatesFlags = 0, bool* wasFixed = nullptr) const; |
| 1001 TransformationMatrix localToAbsoluteTransform(MapCoordinatesFlags mode = 0,
bool* wasFixed = nullptr) const | 1001 TransformationMatrix localToAbsoluteTransform(MapCoordinatesFlags mode = 0,
bool* wasFixed = nullptr) const |
| 1002 { | 1002 { |
| 1003 return localToAncestorTransform(nullptr, mode, wasFixed); | 1003 return localToAncestorTransform(nullptr, mode, wasFixed); |
| 1004 } | 1004 } |
| 1005 | 1005 |
| 1006 // Convert a local point into the coordinate system of backing coordinates.
Also returns the backing layer if needed. | 1006 // Convert a local point into the coordinate system of backing coordinates.
Also returns the backing layer if needed. |
| 1007 FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, PaintLayer**
backingLayer = nullptr); | 1007 FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, PaintLayer**
backingLayer = nullptr); |
| 1008 | 1008 |
| 1009 // Return the offset from the container() layoutObject (excluding transforms
). In multi-column layout, | 1009 // Return the offset from the container() layoutObject (excluding transforms
and multicol). |
| 1010 // different offsets apply at different points, so return the offset that ap
plies to the given point. | 1010 virtual LayoutSize offsetFromContainer(const LayoutObject*) const; |
| 1011 virtual LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = nullptr) const; | |
| 1012 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. | 1011 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. |
| 1013 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; | 1012 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; |
| 1014 | 1013 |
| 1015 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } | 1014 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } |
| 1016 | 1015 |
| 1017 FloatRect absoluteBoundingBoxFloatRect() const; | 1016 FloatRect absoluteBoundingBoxFloatRect() const; |
| 1018 // This returns an IntRect enclosing this object. If this object has an | 1017 // This returns an IntRect enclosing this object. If this object has an |
| 1019 // integral size and the position has fractional values, the resultant | 1018 // integral size and the position has fractional values, the resultant |
| 1020 // IntRect can be larger than the integral size. | 1019 // IntRect can be larger than the integral size. |
| 1021 IntRect absoluteBoundingBoxRect() const; | 1020 IntRect absoluteBoundingBoxRect() const; |
| (...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2167 void showTree(const blink::LayoutObject*); | 2166 void showTree(const blink::LayoutObject*); |
| 2168 void showLineTree(const blink::LayoutObject*); | 2167 void showLineTree(const blink::LayoutObject*); |
| 2169 void showLayoutTree(const blink::LayoutObject* object1); | 2168 void showLayoutTree(const blink::LayoutObject* object1); |
| 2170 // We don't make object2 an optional parameter so that showLayoutTree | 2169 // We don't make object2 an optional parameter so that showLayoutTree |
| 2171 // can be called from gdb easily. | 2170 // can be called from gdb easily. |
| 2172 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2171 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2173 | 2172 |
| 2174 #endif | 2173 #endif |
| 2175 | 2174 |
| 2176 #endif // LayoutObject_h | 2175 #endif // LayoutObject_h |
| OLD | NEW |