| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 | 259 |
| 260 void computeOverflow(LayoutUnit lineTop, | 260 void computeOverflow(LayoutUnit lineTop, |
| 261 LayoutUnit lineBottom, | 261 LayoutUnit lineBottom, |
| 262 GlyphOverflowAndFallbackFontsMap&); | 262 GlyphOverflowAndFallbackFontsMap&); |
| 263 | 263 |
| 264 void removeChild(InlineBox* child, MarkLineBoxes); | 264 void removeChild(InlineBox* child, MarkLineBoxes); |
| 265 | 265 |
| 266 SelectionState getSelectionState() const override; | 266 SelectionState getSelectionState() const override; |
| 267 | 267 |
| 268 bool canAccommodateEllipsis(bool ltr, | 268 bool canAccommodateEllipsis(bool ltr, |
| 269 int blockEdge, | 269 LayoutUnit blockEdge, |
| 270 int ellipsisWidth) const final; | 270 LayoutUnit ellipsisWidth) const final; |
| 271 LayoutUnit placeEllipsisBox(bool ltr, | 271 LayoutUnit placeEllipsisBox(bool ltr, |
| 272 LayoutUnit blockLeftEdge, | 272 LayoutUnit blockLeftEdge, |
| 273 LayoutUnit blockRightEdge, | 273 LayoutUnit blockRightEdge, |
| 274 LayoutUnit ellipsisWidth, | 274 LayoutUnit ellipsisWidth, |
| 275 LayoutUnit& truncatedWidth, | 275 LayoutUnit& truncatedWidth, |
| 276 bool&) override; | 276 bool&) override; |
| 277 | 277 |
| 278 bool hasTextChildren() const { return m_hasTextChildren; } | 278 bool hasTextChildren() const { return m_hasTextChildren; } |
| 279 bool hasTextDescendants() const { return m_hasTextDescendants; } | 279 bool hasTextDescendants() const { return m_hasTextDescendants; } |
| 280 void setHasTextDescendants() { m_hasTextDescendants = true; } | 280 void setHasTextDescendants() { m_hasTextDescendants = true; } |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 | 485 |
| 486 inline void InlineFlowBox::setHasBadChildList() { | 486 inline void InlineFlowBox::setHasBadChildList() { |
| 487 #if DCHECK_IS_ON() | 487 #if DCHECK_IS_ON() |
| 488 m_hasBadChildList = true; | 488 m_hasBadChildList = true; |
| 489 #endif | 489 #endif |
| 490 } | 490 } |
| 491 | 491 |
| 492 } // namespace blink | 492 } // namespace blink |
| 493 | 493 |
| 494 #endif // InlineFlowBox_h | 494 #endif // InlineFlowBox_h |
| OLD | NEW |