| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 | 484 |
| 485 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. | 485 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. |
| 486 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. | 486 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. |
| 487 | 487 |
| 488 LayoutUnit adjustBlockChildForPagination(LayoutUnit logicalTopAfterClear, La
youtUnit estimateWithoutPagination, LayoutBox& child, bool atBeforeSideOfBlock); | 488 LayoutUnit adjustBlockChildForPagination(LayoutUnit logicalTopAfterClear, La
youtUnit estimateWithoutPagination, LayoutBox& child, bool atBeforeSideOfBlock); |
| 489 // Computes a deltaOffset value that put a line at the top of the next page
if it doesn't fit on the current page. | 489 // Computes a deltaOffset value that put a line at the top of the next page
if it doesn't fit on the current page. |
| 490 void adjustLinePositionForPagination(RootInlineBox&, LayoutUnit& deltaOffset
); | 490 void adjustLinePositionForPagination(RootInlineBox&, LayoutUnit& deltaOffset
); |
| 491 // If the child is unsplittable and can't fit on the current page, return th
e top of the next page/column. | 491 // If the child is unsplittable and can't fit on the current page, return th
e top of the next page/column. |
| 492 LayoutUnit adjustForUnsplittableChild(LayoutBox&, LayoutUnit logicalOffset,
bool includeMargins = false); | 492 LayoutUnit adjustForUnsplittableChild(LayoutBox&, LayoutUnit logicalOffset,
bool includeMargins = false); |
| 493 | 493 |
| 494 void removeInlinesWithOutlineAndContinuation(); |
| 495 void addInlineWithOutlineAndContinuation(LayoutInline*); |
| 496 |
| 494 // Used to store state between styleWillChange and styleDidChange | 497 // Used to store state between styleWillChange and styleDidChange |
| 495 static bool s_canPropagateFloatIntoSibling; | 498 static bool s_canPropagateFloatIntoSibling; |
| 496 | 499 |
| 497 LayoutBlockFlowRareData& ensureRareData(); | 500 LayoutBlockFlowRareData& ensureRareData(); |
| 498 | 501 |
| 499 LayoutUnit m_paintInvalidationLogicalTop; | 502 LayoutUnit m_paintInvalidationLogicalTop; |
| 500 LayoutUnit m_paintInvalidationLogicalBottom; | 503 LayoutUnit m_paintInvalidationLogicalBottom; |
| 501 | 504 |
| 502 bool isSelfCollapsingBlock() const override; | 505 bool isSelfCollapsingBlock() const override; |
| 503 | 506 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 | 546 |
| 544 // END METHODS DEFINED IN LayoutBlockFlowLine | 547 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 545 | 548 |
| 546 }; | 549 }; |
| 547 | 550 |
| 548 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 551 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 549 | 552 |
| 550 } // namespace blink | 553 } // namespace blink |
| 551 | 554 |
| 552 #endif // LayoutBlockFlow_h | 555 #endif // LayoutBlockFlow_h |
| OLD | NEW |