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. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
7 * All rights reserved. | 7 * All rights reserved. |
8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 // system of a container, taking transforms into account. | 1197 // system of a container, taking transforms into account. |
1198 // Passing null for |ancestor| behaves the same as localToAncestorQuad. | 1198 // Passing null for |ancestor| behaves the same as localToAncestorQuad. |
1199 TransformationMatrix localToAncestorTransform( | 1199 TransformationMatrix localToAncestorTransform( |
1200 const LayoutBoxModelObject* ancestor, | 1200 const LayoutBoxModelObject* ancestor, |
1201 MapCoordinatesFlags = 0) const; | 1201 MapCoordinatesFlags = 0) const; |
1202 TransformationMatrix localToAbsoluteTransform( | 1202 TransformationMatrix localToAbsoluteTransform( |
1203 MapCoordinatesFlags mode = 0) const { | 1203 MapCoordinatesFlags mode = 0) const { |
1204 return localToAncestorTransform(nullptr, mode); | 1204 return localToAncestorTransform(nullptr, mode); |
1205 } | 1205 } |
1206 | 1206 |
1207 // Convert a local point into the coordinate system of backing coordinates. | |
1208 // Also returns the backing layer if needed. | |
1209 FloatPoint localToInvalidationBackingPoint( | |
1210 const LayoutPoint&, | |
1211 PaintLayer** backingLayer = nullptr); | |
1212 | |
1213 // Return the offset from the container() layoutObject (excluding transforms | 1207 // Return the offset from the container() layoutObject (excluding transforms |
1214 // and multicol). | 1208 // and multicol). |
1215 virtual LayoutSize offsetFromContainer(const LayoutObject*) const; | 1209 virtual LayoutSize offsetFromContainer(const LayoutObject*) const; |
1216 // Return the offset from an object up the container() chain. Asserts that | 1210 // Return the offset from an object up the container() chain. Asserts that |
1217 // none of the intermediate objects have transforms. | 1211 // none of the intermediate objects have transforms. |
1218 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; | 1212 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; |
1219 | 1213 |
1220 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const {} | 1214 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const {} |
1221 | 1215 |
1222 FloatRect absoluteBoundingBoxFloatRect() const; | 1216 FloatRect absoluteBoundingBoxFloatRect() const; |
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2676 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2670 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2677 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2671 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2678 // We don't make object2 an optional parameter so that showLayoutTree | 2672 // We don't make object2 an optional parameter so that showLayoutTree |
2679 // can be called from gdb easily. | 2673 // can be called from gdb easily. |
2680 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2674 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2681 const blink::LayoutObject* object2); | 2675 const blink::LayoutObject* object2); |
2682 | 2676 |
2683 #endif | 2677 #endif |
2684 | 2678 |
2685 #endif // LayoutObject_h | 2679 #endif // LayoutObject_h |
OLD | NEW |