| 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 return node() && node()->hasTagName(HTMLNames::bodyTag); | 550 return node() && node()->hasTagName(HTMLNames::bodyTag); |
| 551 } | 551 } |
| 552 bool isHR() const; | 552 bool isHR() const; |
| 553 bool isLegend() const; | 553 bool isLegend() const; |
| 554 | 554 |
| 555 bool isTablePart() const { | 555 bool isTablePart() const { |
| 556 return isTableCell() || isLayoutTableCol() || isTableCaption() || | 556 return isTableCell() || isLayoutTableCol() || isTableCaption() || |
| 557 isTableRow() || isTableSection(); | 557 isTableRow() || isTableSection(); |
| 558 } | 558 } |
| 559 | 559 |
| 560 bool isTextOrSVGChild() const { return isText() || isSVGChild(); } |
| 561 |
| 560 inline bool isBeforeContent() const; | 562 inline bool isBeforeContent() const; |
| 561 inline bool isAfterContent() const; | 563 inline bool isAfterContent() const; |
| 562 inline bool isBeforeOrAfterContent() const; | 564 inline bool isBeforeOrAfterContent() const; |
| 563 static inline bool isAfterContent(const LayoutObject* obj) { | 565 static inline bool isAfterContent(const LayoutObject* obj) { |
| 564 return obj && obj->isAfterContent(); | 566 return obj && obj->isAfterContent(); |
| 565 } | 567 } |
| 566 | 568 |
| 567 bool hasCounterNodeMap() const { return m_bitfields.hasCounterNodeMap(); } | 569 bool hasCounterNodeMap() const { return m_bitfields.hasCounterNodeMap(); } |
| 568 void setHasCounterNodeMap(bool hasCounterNodeMap) { | 570 void setHasCounterNodeMap(bool hasCounterNodeMap) { |
| 569 m_bitfields.setHasCounterNodeMap(hasCounterNodeMap); | 571 m_bitfields.setHasCounterNodeMap(hasCounterNodeMap); |
| (...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2122 | 2124 |
| 2123 Color selectionColor(int colorProperty, const GlobalPaintFlags) const; | 2125 Color selectionColor(int colorProperty, const GlobalPaintFlags) const; |
| 2124 | 2126 |
| 2125 void removeShapeImageClient(ShapeValue*); | 2127 void removeShapeImageClient(ShapeValue*); |
| 2126 void removeCursorImageClient(const CursorList*); | 2128 void removeCursorImageClient(const CursorList*); |
| 2127 | 2129 |
| 2128 #if DCHECK_IS_ON() | 2130 #if DCHECK_IS_ON() |
| 2129 void checkBlockPositionedObjectsNeedLayout(); | 2131 void checkBlockPositionedObjectsNeedLayout(); |
| 2130 #endif | 2132 #endif |
| 2131 | 2133 |
| 2132 bool isTextOrSVGChild() const { return isText() || isSVGChild(); } | |
| 2133 | |
| 2134 static bool isAllowedToModifyLayoutTreeStructure(Document&); | 2134 static bool isAllowedToModifyLayoutTreeStructure(Document&); |
| 2135 | 2135 |
| 2136 // Returns the parent for paint invalidation. For LayoutView, returns the | 2136 // Returns the parent for paint invalidation. For LayoutView, returns the |
| 2137 // owner layout object in the containing frame if any, or nullptr. | 2137 // owner layout object in the containing frame if any, or nullptr. |
| 2138 inline LayoutObject* paintInvalidationParent() const; | 2138 inline LayoutObject* paintInvalidationParent() const; |
| 2139 LayoutObject* slowPaintInvalidationParentForTesting() const; | 2139 LayoutObject* slowPaintInvalidationParentForTesting() const; |
| 2140 | 2140 |
| 2141 void invalidatePaintForSelection(); | 2141 void invalidatePaintForSelection(); |
| 2142 | 2142 |
| 2143 RefPtr<ComputedStyle> m_style; | 2143 RefPtr<ComputedStyle> m_style; |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2774 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2774 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2775 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2775 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2776 // We don't make object2 an optional parameter so that showLayoutTree | 2776 // We don't make object2 an optional parameter so that showLayoutTree |
| 2777 // can be called from gdb easily. | 2777 // can be called from gdb easily. |
| 2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2779 const blink::LayoutObject* object2); | 2779 const blink::LayoutObject* object2); |
| 2780 | 2780 |
| 2781 #endif | 2781 #endif |
| 2782 | 2782 |
| 2783 #endif // LayoutObject_h | 2783 #endif // LayoutObject_h |
| OLD | NEW |