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 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1253 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE && !isInert(); } | 1253 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE && !isInert(); } |
1254 | 1254 |
1255 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use | 1255 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use |
1256 // localToAbsolute/absoluteToLocal methods instead. | 1256 // localToAbsolute/absoluteToLocal methods instead. |
1257 virtual void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, Transf
ormState&, MapCoordinatesFlags = ApplyContainerFlip) const; | 1257 virtual void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, Transf
ormState&, MapCoordinatesFlags = ApplyContainerFlip) const; |
1258 // If the LayoutBoxModelObject ancestor is non-null, the input quad is in th
e space of the ancestor. | 1258 // If the LayoutBoxModelObject ancestor is non-null, the input quad is in th
e space of the ancestor. |
1259 // Otherwise: | 1259 // Otherwise: |
1260 // If TraverseDocumentBoundaries is specified, the input quad is in the sp
ace of the local root frame. | 1260 // If TraverseDocumentBoundaries is specified, the input quad is in the sp
ace of the local root frame. |
1261 // Otherwise, the input quad is in the space of the containing frame. | 1261 // Otherwise, the input quad is in the space of the containing frame. |
1262 virtual void mapAncestorToLocal(const LayoutBoxModelObject*, TransformState&
, MapCoordinatesFlags = ApplyContainerFlip) const; | 1262 virtual void mapAncestorToLocal(const LayoutBoxModelObject*, TransformState&
, MapCoordinatesFlags = ApplyContainerFlip) const; |
1263 void mapAbsoluteToLocalPoint(MapCoordinatesFlags flags, TransformState& tran
sformState) const | |
1264 { | |
1265 return mapAncestorToLocal(nullptr, transformState, flags); | |
1266 } | |
1267 | 1263 |
1268 // Pushes state onto LayoutGeometryMap about how to map coordinates from thi
s layoutObject to its container, or ancestorToStopAt (whichever is encountered f
irst). | 1264 // Pushes state onto LayoutGeometryMap about how to map coordinates from thi
s layoutObject to its container, or ancestorToStopAt (whichever is encountered f
irst). |
1269 // Returns the layoutObject which was mapped to (container or ancestorToStop
At). | 1265 // Returns the layoutObject which was mapped to (container or ancestorToStop
At). |
1270 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const; | 1266 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const; |
1271 | 1267 |
1272 bool shouldUseTransformFromContainer(const LayoutObject* container) const; | 1268 bool shouldUseTransformFromContainer(const LayoutObject* container) const; |
1273 void getTransformFromContainer(const LayoutObject* container, const LayoutSi
ze& offsetInContainer, TransformationMatrix&) const; | 1269 void getTransformFromContainer(const LayoutObject* container, const LayoutSi
ze& offsetInContainer, TransformationMatrix&) const; |
1274 | 1270 |
1275 bool createsGroup() const { return isTransparent() || hasMask() || hasFilter
InducingProperty() || style()->hasBlendMode(); } | 1271 bool createsGroup() const { return isTransparent() || hasMask() || hasFilter
InducingProperty() || style()->hasBlendMode(); } |
1276 | 1272 |
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2173 void showTree(const blink::LayoutObject*); | 2169 void showTree(const blink::LayoutObject*); |
2174 void showLineTree(const blink::LayoutObject*); | 2170 void showLineTree(const blink::LayoutObject*); |
2175 void showLayoutTree(const blink::LayoutObject* object1); | 2171 void showLayoutTree(const blink::LayoutObject* object1); |
2176 // We don't make object2 an optional parameter so that showLayoutTree | 2172 // We don't make object2 an optional parameter so that showLayoutTree |
2177 // can be called from gdb easily. | 2173 // can be called from gdb easily. |
2178 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2174 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2179 | 2175 |
2180 #endif | 2176 #endif |
2181 | 2177 |
2182 #endif // LayoutObject_h | 2178 #endif // LayoutObject_h |
OLD | NEW |