| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 virtual bool isSelfCollapsingBlock() const { return false; } | 514 virtual bool isSelfCollapsingBlock() const { return false; } |
| 515 virtual LayoutUnit collapsedMarginBefore() const { return marginBefore(); } | 515 virtual LayoutUnit collapsedMarginBefore() const { return marginBefore(); } |
| 516 virtual LayoutUnit collapsedMarginAfter() const { return marginAfter(); } | 516 virtual LayoutUnit collapsedMarginAfter() const { return marginAfter(); } |
| 517 LayoutRectOutsets collapsedMarginBoxLogicalOutsets() const | 517 LayoutRectOutsets collapsedMarginBoxLogicalOutsets() const |
| 518 { | 518 { |
| 519 return LayoutRectOutsets(collapsedMarginBefore(), LayoutUnit(), collapse
dMarginAfter(), LayoutUnit()); | 519 return LayoutRectOutsets(collapsedMarginBefore(), LayoutUnit(), collapse
dMarginAfter(), LayoutUnit()); |
| 520 } | 520 } |
| 521 | 521 |
| 522 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst override; | 522 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst override; |
| 523 void absoluteQuads(Vector<FloatQuad>&) const override; | 523 void absoluteQuads(Vector<FloatQuad>&) const override; |
| 524 FloatRect localBoundingBoxRectForAccessibility() const final; |
| 524 | 525 |
| 525 int reflectionOffset() const; | 526 int reflectionOffset() const; |
| 526 // Given a rect in the object's coordinate space, returns the corresponding
rect in the reflection. | 527 // Given a rect in the object's coordinate space, returns the corresponding
rect in the reflection. |
| 527 LayoutRect reflectedRect(const LayoutRect&) const; | 528 LayoutRect reflectedRect(const LayoutRect&) const; |
| 528 | 529 |
| 529 void layout() override; | 530 void layout() override; |
| 530 void paint(const PaintInfo&, const LayoutPoint&) const override; | 531 void paint(const PaintInfo&, const LayoutPoint&) const override; |
| 531 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; | 532 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 532 | 533 |
| 533 LayoutUnit minPreferredLogicalWidth() const override; | 534 LayoutUnit minPreferredLogicalWidth() const override; |
| (...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 || breakValue == BreakLeft | 1217 || breakValue == BreakLeft |
| 1217 || breakValue == BreakPage | 1218 || breakValue == BreakPage |
| 1218 || breakValue == BreakRecto | 1219 || breakValue == BreakRecto |
| 1219 || breakValue == BreakRight | 1220 || breakValue == BreakRight |
| 1220 || breakValue == BreakVerso; | 1221 || breakValue == BreakVerso; |
| 1221 } | 1222 } |
| 1222 | 1223 |
| 1223 } // namespace blink | 1224 } // namespace blink |
| 1224 | 1225 |
| 1225 #endif // LayoutBox_h | 1226 #endif // LayoutBox_h |
| OLD | NEW |