| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 SelectionState getSelectionState() const override; | 266 SelectionState getSelectionState() const override; |
| 267 | 267 |
| 268 bool canAccommodateEllipsis(bool ltr, | 268 bool canAccommodateEllipsis(bool ltr, |
| 269 LayoutUnit blockEdge, | 269 LayoutUnit blockEdge, |
| 270 LayoutUnit 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&, |
| 277 LayoutUnit logicalLeftOffset) override; |
| 277 | 278 |
| 278 bool hasTextChildren() const { return m_hasTextChildren; } | 279 bool hasTextChildren() const { return m_hasTextChildren; } |
| 279 bool hasTextDescendants() const { return m_hasTextDescendants; } | 280 bool hasTextDescendants() const { return m_hasTextDescendants; } |
| 280 void setHasTextDescendants() { m_hasTextDescendants = true; } | 281 void setHasTextDescendants() { m_hasTextDescendants = true; } |
| 281 | 282 |
| 282 void checkConsistency() const; | 283 void checkConsistency() const; |
| 283 void setHasBadChildList(); | 284 void setHasBadChildList(); |
| 284 | 285 |
| 285 // Line visual and layout overflow are in the coordinate space of the block. | 286 // Line visual and layout overflow are in the coordinate space of the block. |
| 286 // This means that they aren't purely physical directions. For horizontal-tb | 287 // This means that they aren't purely physical directions. For horizontal-tb |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 | 486 |
| 486 inline void InlineFlowBox::setHasBadChildList() { | 487 inline void InlineFlowBox::setHasBadChildList() { |
| 487 #if DCHECK_IS_ON() | 488 #if DCHECK_IS_ON() |
| 488 m_hasBadChildList = true; | 489 m_hasBadChildList = true; |
| 489 #endif | 490 #endif |
| 490 } | 491 } |
| 491 | 492 |
| 492 } // namespace blink | 493 } // namespace blink |
| 493 | 494 |
| 494 #endif // InlineFlowBox_h | 495 #endif // InlineFlowBox_h |
| OLD | NEW |