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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 virtual bool isSelfCollapsingBlock() const { return false; } | 657 virtual bool isSelfCollapsingBlock() const { return false; } |
658 virtual LayoutUnit collapsedMarginBefore() const { return marginBefore(); } | 658 virtual LayoutUnit collapsedMarginBefore() const { return marginBefore(); } |
659 virtual LayoutUnit collapsedMarginAfter() const { return marginAfter(); } | 659 virtual LayoutUnit collapsedMarginAfter() const { return marginAfter(); } |
660 LayoutRectOutsets collapsedMarginBoxLogicalOutsets() const { | 660 LayoutRectOutsets collapsedMarginBoxLogicalOutsets() const { |
661 return LayoutRectOutsets(collapsedMarginBefore(), LayoutUnit(), | 661 return LayoutRectOutsets(collapsedMarginBefore(), LayoutUnit(), |
662 collapsedMarginAfter(), LayoutUnit()); | 662 collapsedMarginAfter(), LayoutUnit()); |
663 } | 663 } |
664 | 664 |
665 void absoluteRects(Vector<IntRect>&, | 665 void absoluteRects(Vector<IntRect>&, |
666 const LayoutPoint& accumulatedOffset) const override; | 666 const LayoutPoint& accumulatedOffset) const override; |
667 void absoluteQuads(Vector<FloatQuad>&) const override; | 667 void absoluteQuads(Vector<FloatQuad>&, |
| 668 MapCoordinatesFlags mode = 0) const override; |
668 FloatRect localBoundingBoxRectForAccessibility() const final; | 669 FloatRect localBoundingBoxRectForAccessibility() const final; |
669 | 670 |
670 void layout() override; | 671 void layout() override; |
671 void paint(const PaintInfo&, const LayoutPoint&) const override; | 672 void paint(const PaintInfo&, const LayoutPoint&) const override; |
672 bool nodeAtPoint(HitTestResult&, | 673 bool nodeAtPoint(HitTestResult&, |
673 const HitTestLocation& locationInContainer, | 674 const HitTestLocation& locationInContainer, |
674 const LayoutPoint& accumulatedOffset, | 675 const LayoutPoint& accumulatedOffset, |
675 HitTestAction) override; | 676 HitTestAction) override; |
676 | 677 |
677 LayoutUnit minPreferredLogicalWidth() const override; | 678 LayoutUnit minPreferredLogicalWidth() const override; |
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 | 1626 |
1626 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1627 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
1627 return breakValue == BreakColumn || breakValue == BreakLeft || | 1628 return breakValue == BreakColumn || breakValue == BreakLeft || |
1628 breakValue == BreakPage || breakValue == BreakRecto || | 1629 breakValue == BreakPage || breakValue == BreakRecto || |
1629 breakValue == BreakRight || breakValue == BreakVerso; | 1630 breakValue == BreakRight || breakValue == BreakVerso; |
1630 } | 1631 } |
1631 | 1632 |
1632 } // namespace blink | 1633 } // namespace blink |
1633 | 1634 |
1634 #endif // LayoutBox_h | 1635 #endif // LayoutBox_h |
OLD | NEW |