| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 const char* name() const override { return "LayoutInline"; } | 106 const char* name() const override { return "LayoutInline"; } |
| 107 | 107 |
| 108 protected: | 108 protected: |
| 109 void willBeDestroyed() override; | 109 void willBeDestroyed() override; |
| 110 | 110 |
| 111 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 111 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 112 | 112 |
| 113 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; | 113 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; |
| 114 | 114 |
| 115 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer) const override; | 115 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer) override; |
| 116 | 116 |
| 117 private: | 117 private: |
| 118 LayoutObjectChildList* virtualChildren() final { return children(); } | 118 LayoutObjectChildList* virtualChildren() final { return children(); } |
| 119 const LayoutObjectChildList* virtualChildren() const final { return children
(); } | 119 const LayoutObjectChildList* virtualChildren() const final { return children
(); } |
| 120 const LayoutObjectChildList* children() const { return &m_children; } | 120 const LayoutObjectChildList* children() const { return &m_children; } |
| 121 LayoutObjectChildList* children() { return &m_children; } | 121 LayoutObjectChildList* children() { return &m_children; } |
| 122 | 122 |
| 123 bool isLayoutInline() const final { return true; } | 123 bool isLayoutInline() const final { return true; } |
| 124 | 124 |
| 125 LayoutRect culledInlineVisualOverflowBoundingBox() const; | 125 LayoutRect culledInlineVisualOverflowBoundingBox() const; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 LayoutObjectChildList m_children; | 197 LayoutObjectChildList m_children; |
| 198 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. | 198 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. |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 201 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
| 202 | 202 |
| 203 } // namespace blink | 203 } // namespace blink |
| 204 | 204 |
| 205 #endif // LayoutInline_h | 205 #endif // LayoutInline_h |
| OLD | NEW |