| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn
line(); } | 175 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn
line(); } |
| 176 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways
CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); } | 176 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways
CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); } |
| 177 void updateAlwaysCreateLineBoxes(bool fullLayout); | 177 void updateAlwaysCreateLineBoxes(bool fullLayout); |
| 178 | 178 |
| 179 LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine
) final; | 179 LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine
) final; |
| 180 | 180 |
| 181 bool hitTestCulledInline(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset); | 181 bool hitTestCulledInline(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset); |
| 182 | 182 |
| 183 const char* name() const override { return "LayoutInline"; } | 183 const char* name() const override { return "LayoutInline"; } |
| 184 | 184 |
| 185 LayoutRect debugRect() const override; |
| 186 |
| 185 protected: | 187 protected: |
| 186 void willBeDestroyed() override; | 188 void willBeDestroyed() override; |
| 187 | 189 |
| 188 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 190 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 189 | 191 |
| 190 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; | 192 void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& l
ayerOffset) const override; |
| 191 | 193 |
| 192 void invalidateDisplayItemClients(PaintInvalidationReason) const override; | 194 void invalidateDisplayItemClients(PaintInvalidationReason) const override; |
| 193 | 195 |
| 194 private: | 196 private: |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 276 |
| 275 LayoutObjectChildList m_children; | 277 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. | 278 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 }; | 279 }; |
| 278 | 280 |
| 279 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 281 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
| 280 | 282 |
| 281 } // namespace blink | 283 } // namespace blink |
| 282 | 284 |
| 283 #endif // LayoutInline_h | 285 #endif // LayoutInline_h |
| OLD | NEW |