Chromium Code Reviews| Index: Source/WebCore/rendering/RenderObject.h |
| =================================================================== |
| --- Source/WebCore/rendering/RenderObject.h (revision 148175) |
| +++ Source/WebCore/rendering/RenderObject.h (working copy) |
| @@ -943,6 +943,7 @@ |
| AnimationController* animation() const; |
| + bool visibleToHitTestRequest(const HitTestRequest& request) const { return style()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style()->pointerEvents() != PE_NONE); } |
|
pfeldman
2013/04/12 14:45:43
Non-trivial implementation should reside in .cpp
|
| bool visibleToHitTesting() const { return style()->visibility() == VISIBLE && style()->pointerEvents() != PE_NONE; } |
| // Map points and quads through elements, potentially via 3d transforms. You should never need to call these directly; use |