| 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 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1468 void selectionStartEnd(int& spos, int& epos) const; | 1468 void selectionStartEnd(int& spos, int& epos) const; |
| 1469 | 1469 |
| 1470 void remove() { | 1470 void remove() { |
| 1471 if (parent()) | 1471 if (parent()) |
| 1472 parent()->removeChild(this); | 1472 parent()->removeChild(this); |
| 1473 } | 1473 } |
| 1474 | 1474 |
| 1475 bool visibleToHitTestRequest(const HitTestRequest& request) const { | 1475 bool visibleToHitTestRequest(const HitTestRequest& request) const { |
| 1476 return style()->visibility() == EVisibility::Visible && | 1476 return style()->visibility() == EVisibility::Visible && |
| 1477 (request.ignorePointerEventsNone() || | 1477 (request.ignorePointerEventsNone() || |
| 1478 style()->pointerEvents() != PE_NONE) && | 1478 style()->pointerEvents() != EPointerEvents::PE_NONE) && |
| 1479 !isInert(); | 1479 !isInert(); |
| 1480 } | 1480 } |
| 1481 | 1481 |
| 1482 // Warning: inertness can change without causing relayout. | 1482 // Warning: inertness can change without causing relayout. |
| 1483 bool visibleToHitTesting() const { | 1483 bool visibleToHitTesting() const { |
| 1484 return style()->visibleToHitTesting() && !isInert(); | 1484 return style()->visibleToHitTesting() && !isInert(); |
| 1485 } | 1485 } |
| 1486 | 1486 |
| 1487 // Map points and quads through elements, potentially via 3d transforms. You | 1487 // Map points and quads through elements, potentially via 3d transforms. You |
| 1488 // should never need to call these directly; use localToAbsolute/ | 1488 // should never need to call these directly; use localToAbsolute/ |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2658 // We don't make object2 an optional parameter so that showLayoutTree | 2658 // We don't make object2 an optional parameter so that showLayoutTree |
| 2659 // can be called from gdb easily. | 2659 // can be called from gdb easily. |
| 2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2661 const blink::LayoutObject* object2); | 2661 const blink::LayoutObject* object2); |
| 2662 | 2662 |
| 2663 #endif | 2663 #endif |
| 2664 | 2664 |
| 2665 #endif // LayoutObject_h | 2665 #endif // LayoutObject_h |
| OLD | NEW |