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 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {} | 1463 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {} |
1464 | 1464 |
1465 void selectionStartEnd(int& spos, int& epos) const; | 1465 void selectionStartEnd(int& spos, int& epos) const; |
1466 | 1466 |
1467 void remove() { | 1467 void remove() { |
1468 if (parent()) | 1468 if (parent()) |
1469 parent()->removeChild(this); | 1469 parent()->removeChild(this); |
1470 } | 1470 } |
1471 | 1471 |
1472 bool visibleToHitTestRequest(const HitTestRequest& request) const { | 1472 bool visibleToHitTestRequest(const HitTestRequest& request) const { |
1473 return style()->visibility() == EVisibility::Visible && | 1473 return style()->visibility() == EVisibility::kVisible && |
1474 (request.ignorePointerEventsNone() || | 1474 (request.ignorePointerEventsNone() || |
1475 style()->pointerEvents() != EPointerEvents::None) && | 1475 style()->pointerEvents() != EPointerEvents::kNone) && |
1476 !isInert(); | 1476 !isInert(); |
1477 } | 1477 } |
1478 | 1478 |
1479 // Warning: inertness can change without causing relayout. | 1479 // Warning: inertness can change without causing relayout. |
1480 bool visibleToHitTesting() const { | 1480 bool visibleToHitTesting() const { |
1481 return style()->visibleToHitTesting() && !isInert(); | 1481 return style()->visibleToHitTesting() && !isInert(); |
1482 } | 1482 } |
1483 | 1483 |
1484 // Map points and quads through elements, potentially via 3d transforms. You | 1484 // Map points and quads through elements, potentially via 3d transforms. You |
1485 // should never need to call these directly; use localToAbsolute/ | 1485 // should never need to call these directly; use localToAbsolute/ |
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2670 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2670 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2671 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2671 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2672 // We don't make object2 an optional parameter so that showLayoutTree | 2672 // We don't make object2 an optional parameter so that showLayoutTree |
2673 // can be called from gdb easily. | 2673 // can be called from gdb easily. |
2674 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2674 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2675 const blink::LayoutObject* object2); | 2675 const blink::LayoutObject* object2); |
2676 | 2676 |
2677 #endif | 2677 #endif |
2678 | 2678 |
2679 #endif // LayoutObject_h | 2679 #endif // LayoutObject_h |
OLD | NEW |