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 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1232 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) { } | 1232 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) { } |
1233 | 1233 |
1234 void selectionStartEnd(int& spos, int& epos) const; | 1234 void selectionStartEnd(int& spos, int& epos) const; |
1235 | 1235 |
1236 void remove() | 1236 void remove() |
1237 { | 1237 { |
1238 if (parent()) | 1238 if (parent()) |
1239 parent()->removeChild(this); | 1239 parent()->removeChild(this); |
1240 } | 1240 } |
1241 | 1241 |
1242 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s
tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style()
->pointerEvents() != PE_NONE) && !isInert(); } | 1242 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s
tyle()->visibility() == EVisibility::Visible && (request.ignorePointerEventsNone
() || style()->pointerEvents() != PE_NONE) && !isInert(); } |
1243 | 1243 |
1244 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE && !isInert(); } | 1244 bool visibleToHitTesting() const { return style()->visibility() == EVisibili
ty::Visible && style()->pointerEvents() != PE_NONE && !isInert(); } |
1245 | 1245 |
1246 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use | 1246 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use |
1247 // localToAbsolute/absoluteToLocal methods instead. | 1247 // localToAbsolute/absoluteToLocal methods instead. |
1248 virtual void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, Transf
ormState&, MapCoordinatesFlags = ApplyContainerFlip) const; | 1248 virtual void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, Transf
ormState&, MapCoordinatesFlags = ApplyContainerFlip) const; |
1249 // If the LayoutBoxModelObject ancestor is non-null, the input quad is in th
e space of the ancestor. | 1249 // If the LayoutBoxModelObject ancestor is non-null, the input quad is in th
e space of the ancestor. |
1250 // Otherwise: | 1250 // Otherwise: |
1251 // If TraverseDocumentBoundaries is specified, the input quad is in the sp
ace of the local root frame. | 1251 // If TraverseDocumentBoundaries is specified, the input quad is in the sp
ace of the local root frame. |
1252 // Otherwise, the input quad is in the space of the containing frame. | 1252 // Otherwise, the input quad is in the space of the containing frame. |
1253 virtual void mapAncestorToLocal(const LayoutBoxModelObject*, TransformState&
, MapCoordinatesFlags = ApplyContainerFlip) const; | 1253 virtual void mapAncestorToLocal(const LayoutBoxModelObject*, TransformState&
, MapCoordinatesFlags = ApplyContainerFlip) const; |
1254 | 1254 |
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2183 void showTree(const blink::LayoutObject*); | 2183 void showTree(const blink::LayoutObject*); |
2184 void showLineTree(const blink::LayoutObject*); | 2184 void showLineTree(const blink::LayoutObject*); |
2185 void showLayoutTree(const blink::LayoutObject* object1); | 2185 void showLayoutTree(const blink::LayoutObject* object1); |
2186 // We don't make object2 an optional parameter so that showLayoutTree | 2186 // We don't make object2 an optional parameter so that showLayoutTree |
2187 // can be called from gdb easily. | 2187 // can be called from gdb easily. |
2188 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2188 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2189 | 2189 |
2190 #endif | 2190 #endif |
2191 | 2191 |
2192 #endif // LayoutObject_h | 2192 #endif // LayoutObject_h |
OLD | NEW |