| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 const char* name() const override { return "LayoutInline"; } | 184 const char* name() const override { return "LayoutInline"; } |
| 185 | 185 |
| 186 protected: | 186 protected: |
| 187 void willBeDestroyed() override; | 187 void willBeDestroyed() override; |
| 188 | 188 |
| 189 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 189 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 190 | 190 |
| 191 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; | 191 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; |
| 192 | 192 |
| 193 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason) const override; | 193 void invalidateDisplayItemClients(PaintInvalidationReason) const override; |
| 194 | 194 |
| 195 private: | 195 private: |
| 196 LayoutObjectChildList* virtualChildren() final { return children(); } | 196 LayoutObjectChildList* virtualChildren() final { return children(); } |
| 197 const LayoutObjectChildList* virtualChildren() const final { return children
(); } | 197 const LayoutObjectChildList* virtualChildren() const final { return children
(); } |
| 198 const LayoutObjectChildList* children() const { return &m_children; } | 198 const LayoutObjectChildList* children() const { return &m_children; } |
| 199 LayoutObjectChildList* children() { return &m_children; } | 199 LayoutObjectChildList* children() { return &m_children; } |
| 200 | 200 |
| 201 bool isLayoutInline() const final { return true; } | 201 bool isLayoutInline() const final { return true; } |
| 202 | 202 |
| 203 LayoutRect culledInlineVisualOverflowBoundingBox() const; | 203 LayoutRect culledInlineVisualOverflowBoundingBox() const; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 | 275 |
| 276 LayoutObjectChildList m_children; | 276 LayoutObjectChildList m_children; |
| 277 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl
ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. | 277 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl
ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. |
| 278 }; | 278 }; |
| 279 | 279 |
| 280 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 280 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
| 281 | 281 |
| 282 } // namespace blink | 282 } // namespace blink |
| 283 | 283 |
| 284 #endif // LayoutInline_h | 284 #endif // LayoutInline_h |
| OLD | NEW |