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. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. |
5 * All rights reserved. | 5 * All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 void updateAlwaysCreateLineBoxes(bool fullLayout); | 204 void updateAlwaysCreateLineBoxes(bool fullLayout); |
205 | 205 |
206 LayoutRect localCaretRect(InlineBox*, | 206 LayoutRect localCaretRect(InlineBox*, |
207 int, | 207 int, |
208 LayoutUnit* extraWidthToEndOfLine) final; | 208 LayoutUnit* extraWidthToEndOfLine) final; |
209 | 209 |
210 bool hitTestCulledInline(HitTestResult&, | 210 bool hitTestCulledInline(HitTestResult&, |
211 const HitTestLocation& locationInContainer, | 211 const HitTestLocation& locationInContainer, |
212 const LayoutPoint& accumulatedOffset); | 212 const LayoutPoint& accumulatedOffset); |
213 | 213 |
| 214 LayoutPoint firstLineBoxTopLeft() const; |
| 215 |
214 const char* name() const override { return "LayoutInline"; } | 216 const char* name() const override { return "LayoutInline"; } |
215 | 217 |
216 LayoutRect debugRect() const override; | 218 LayoutRect debugRect() const override; |
217 | 219 |
218 protected: | 220 protected: |
219 void willBeDestroyed() override; | 221 void willBeDestroyed() override; |
220 | 222 |
221 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; | 223 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
222 | 224 |
223 void computeSelfHitTestRects(Vector<LayoutRect>& rects, | 225 void computeSelfHitTestRects(Vector<LayoutRect>& rects, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 // All of the line boxes created for this inline flow. For example, | 345 // All of the line boxes created for this inline flow. For example, |
344 // <i>Hello<br>world.</i> will have two <i> line boxes. | 346 // <i>Hello<br>world.</i> will have two <i> line boxes. |
345 LineBoxList m_lineBoxes; | 347 LineBoxList m_lineBoxes; |
346 }; | 348 }; |
347 | 349 |
348 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 350 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
349 | 351 |
350 } // namespace blink | 352 } // namespace blink |
351 | 353 |
352 #endif // LayoutInline_h | 354 #endif // LayoutInline_h |
OLD | NEW |