| 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, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 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 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1474 // boolean before returning. | 1474 // boolean before returning. |
| 1475 // | 1475 // |
| 1476 // See INTRINSIC SIZES / PREFERRED LOGICAL WIDTHS in LayoutObject.h for more | 1476 // See INTRINSIC SIZES / PREFERRED LOGICAL WIDTHS in LayoutObject.h for more |
| 1477 // details about those widths. | 1477 // details about those widths. |
| 1478 virtual void computePreferredLogicalWidths() { | 1478 virtual void computePreferredLogicalWidths() { |
| 1479 clearPreferredLogicalWidthsDirty(); | 1479 clearPreferredLogicalWidthsDirty(); |
| 1480 } | 1480 } |
| 1481 | 1481 |
| 1482 LayoutBoxRareData& ensureRareData() { | 1482 LayoutBoxRareData& ensureRareData() { |
| 1483 if (!m_rareData) | 1483 if (!m_rareData) |
| 1484 m_rareData = wrapUnique(new LayoutBoxRareData()); | 1484 m_rareData = makeUnique<LayoutBoxRareData>(); |
| 1485 return *m_rareData.get(); | 1485 return *m_rareData.get(); |
| 1486 } | 1486 } |
| 1487 | 1487 |
| 1488 bool logicalHeightComputesAsNone(SizeType) const; | 1488 bool logicalHeightComputesAsNone(SizeType) const; |
| 1489 | 1489 |
| 1490 bool isBox() const = | 1490 bool isBox() const = |
| 1491 delete; // This will catch anyone doing an unnecessary check. | 1491 delete; // This will catch anyone doing an unnecessary check. |
| 1492 | 1492 |
| 1493 void frameRectChanged(); | 1493 void frameRectChanged(); |
| 1494 | 1494 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1621 | 1621 |
| 1622 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1622 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
| 1623 return breakValue == BreakColumn || breakValue == BreakLeft || | 1623 return breakValue == BreakColumn || breakValue == BreakLeft || |
| 1624 breakValue == BreakPage || breakValue == BreakRecto || | 1624 breakValue == BreakPage || breakValue == BreakRecto || |
| 1625 breakValue == BreakRight || breakValue == BreakVerso; | 1625 breakValue == BreakRight || breakValue == BreakVerso; |
| 1626 } | 1626 } |
| 1627 | 1627 |
| 1628 } // namespace blink | 1628 } // namespace blink |
| 1629 | 1629 |
| 1630 #endif // LayoutBox_h | 1630 #endif // LayoutBox_h |
| OLD | NEW |