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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 181 |
182 const char* name() const override { return "LayoutInline"; } | 182 const char* name() const override { return "LayoutInline"; } |
183 | 183 |
184 protected: | 184 protected: |
185 void willBeDestroyed() override; | 185 void willBeDestroyed() override; |
186 | 186 |
187 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 187 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
188 | 188 |
189 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; | 189 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; |
190 | 190 |
191 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason, const LayoutRect& previousPaintInvalidati
onRect, const LayoutRect& newPaintInvalidationRect) const override; | 191 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason, const LayoutRect* paintInvalidationRect)
const override; |
192 | 192 |
193 private: | 193 private: |
194 LayoutObjectChildList* virtualChildren() final { return children(); } | 194 LayoutObjectChildList* virtualChildren() final { return children(); } |
195 const LayoutObjectChildList* virtualChildren() const final { return children
(); } | 195 const LayoutObjectChildList* virtualChildren() const final { return children
(); } |
196 const LayoutObjectChildList* children() const { return &m_children; } | 196 const LayoutObjectChildList* children() const { return &m_children; } |
197 LayoutObjectChildList* children() { return &m_children; } | 197 LayoutObjectChildList* children() { return &m_children; } |
198 | 198 |
199 bool isLayoutInline() const final { return true; } | 199 bool isLayoutInline() const final { return true; } |
200 | 200 |
201 LayoutRect culledInlineVisualOverflowBoundingBox() const; | 201 LayoutRect culledInlineVisualOverflowBoundingBox() const; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 LayoutObjectChildList m_children; | 275 LayoutObjectChildList m_children; |
276 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. | 276 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 }; | 277 }; |
278 | 278 |
279 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 279 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
280 | 280 |
281 } // namespace blink | 281 } // namespace blink |
282 | 282 |
283 #endif // LayoutInline_h | 283 #endif // LayoutInline_h |
OLD | NEW |