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 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * Copyright (C) 2013 Google Inc. All rights reserved. | 7 * Copyright (C) 2013 Google Inc. All rights reserved. |
8 * | 8 * |
9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
10 * modification, are permitted provided that the following conditions are | 10 * modification, are permitted provided that the following conditions are |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 void handleAfterSideOfBlock(LayoutBox* lastChild, LayoutUnit top, LayoutUnit
bottom, MarginInfo&); | 523 void handleAfterSideOfBlock(LayoutBox* lastChild, LayoutUnit top, LayoutUnit
bottom, MarginInfo&); |
524 void setCollapsedBottomMargin(const MarginInfo&); | 524 void setCollapsedBottomMargin(const MarginInfo&); |
525 | 525 |
526 LayoutUnit applyBeforeBreak(LayoutBox& child, LayoutUnit logicalOffset); //
If the child has a before break, then return a new yPos that shifts to the top o
f the next page/column. | 526 LayoutUnit applyBeforeBreak(LayoutBox& child, LayoutUnit logicalOffset); //
If the child has a before break, then return a new yPos that shifts to the top o
f the next page/column. |
527 LayoutUnit applyAfterBreak(LayoutBox& child, LayoutUnit logicalOffset, Margi
nInfo&); // If the child has an after break, then return a new offset that shift
s to the top of the next page/column. | 527 LayoutUnit applyAfterBreak(LayoutBox& child, LayoutUnit logicalOffset, Margi
nInfo&); // If the child has an after break, then return a new offset that shift
s to the top of the next page/column. |
528 | 528 |
529 LayoutUnit adjustBlockChildForPagination(LayoutUnit logicalTop, LayoutBox& c
hild, bool atBeforeSideOfBlock); | 529 LayoutUnit adjustBlockChildForPagination(LayoutUnit logicalTop, LayoutBox& c
hild, bool atBeforeSideOfBlock); |
530 // Computes a deltaOffset value that put a line at the top of the next page
if it doesn't fit on the current page. | 530 // Computes a deltaOffset value that put a line at the top of the next page
if it doesn't fit on the current page. |
531 void adjustLinePositionForPagination(RootInlineBox&, LayoutUnit& deltaOffset
); | 531 void adjustLinePositionForPagination(RootInlineBox&, LayoutUnit& deltaOffset
); |
532 // If the child is unsplittable and can't fit on the current page, return th
e top of the next page/column. | 532 // If the child is unsplittable and can't fit on the current page, return th
e top of the next page/column. |
533 LayoutUnit adjustForUnsplittableChild(LayoutBox&, LayoutUnit logicalOffset); | 533 LayoutUnit adjustForUnsplittableChild(LayoutBox&, LayoutUnit logicalOffset)
const; |
534 | 534 |
535 // Used to store state between styleWillChange and styleDidChange | 535 // Used to store state between styleWillChange and styleDidChange |
536 static bool s_canPropagateFloatIntoSibling; | 536 static bool s_canPropagateFloatIntoSibling; |
537 | 537 |
538 LayoutBlockFlowRareData& ensureRareData(); | 538 LayoutBlockFlowRareData& ensureRareData(); |
539 | 539 |
540 LayoutUnit m_paintInvalidationLogicalTop; | 540 LayoutUnit m_paintInvalidationLogicalTop; |
541 LayoutUnit m_paintInvalidationLogicalBottom; | 541 LayoutUnit m_paintInvalidationLogicalBottom; |
542 | 542 |
543 bool isSelfCollapsingBlock() const override; | 543 bool isSelfCollapsingBlock() const override; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 | 585 |
586 // END METHODS DEFINED IN LayoutBlockFlowLine | 586 // END METHODS DEFINED IN LayoutBlockFlowLine |
587 | 587 |
588 }; | 588 }; |
589 | 589 |
590 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 590 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
591 | 591 |
592 } // namespace blink | 592 } // namespace blink |
593 | 593 |
594 #endif // LayoutBlockFlow_h | 594 #endif // LayoutBlockFlow_h |
OLD | NEW |