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