| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 return adjustLogicalLeftOffsetForLine(logicalLeftFloatOffsetForLine(logi
calTop, fixedOffset, logicalHeight), applyTextIndent); | 306 return adjustLogicalLeftOffsetForLine(logicalLeftFloatOffsetForLine(logi
calTop, fixedOffset, logicalHeight), applyTextIndent); |
| 307 } | 307 } |
| 308 | 308 |
| 309 virtual LayoutObject* layoutSpecialExcludedChild(bool /*relayoutChildren*/,
SubtreeLayoutScope&); | 309 virtual LayoutObject* layoutSpecialExcludedChild(bool /*relayoutChildren*/,
SubtreeLayoutScope&); |
| 310 bool updateLogicalWidthAndColumnWidth() override; | 310 bool updateLogicalWidthAndColumnWidth() override; |
| 311 | 311 |
| 312 void setLogicalLeftForChild(LayoutBox& child, LayoutUnit logicalLeft); | 312 void setLogicalLeftForChild(LayoutBox& child, LayoutUnit logicalLeft); |
| 313 void setLogicalTopForChild(LayoutBox& child, LayoutUnit logicalTop); | 313 void setLogicalTopForChild(LayoutBox& child, LayoutUnit logicalTop); |
| 314 void determineLogicalLeftPositionForChild(LayoutBox& child); | 314 void determineLogicalLeftPositionForChild(LayoutBox& child); |
| 315 | 315 |
| 316 PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, con
st LayoutBoxModelObject& paintInvalidationContainer) override; | 316 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState
&) override; |
| 317 | 317 |
| 318 private: | 318 private: |
| 319 bool layoutBlockFlow(bool relayoutChildren, LayoutUnit& pageLogicalHeight, S
ubtreeLayoutScope&); | 319 bool layoutBlockFlow(bool relayoutChildren, LayoutUnit& pageLogicalHeight, S
ubtreeLayoutScope&); |
| 320 void layoutBlockChildren(bool relayoutChildren, SubtreeLayoutScope&, LayoutU
nit beforeEdge, LayoutUnit afterEdge); | 320 void layoutBlockChildren(bool relayoutChildren, SubtreeLayoutScope&, LayoutU
nit beforeEdge, LayoutUnit afterEdge); |
| 321 | 321 |
| 322 void markDescendantsWithFloatsForLayoutIfNeeded(LayoutBlockFlow& child, Layo
utUnit newLogicalTop, LayoutUnit previousFloatLogicalBottom); | 322 void markDescendantsWithFloatsForLayoutIfNeeded(LayoutBlockFlow& child, Layo
utUnit newLogicalTop, LayoutUnit previousFloatLogicalBottom); |
| 323 bool positionAndLayoutOnceIfNeeded(LayoutBox& child, LayoutUnit newLogicalTo
p, BlockChildrenLayoutInfo&); | 323 bool positionAndLayoutOnceIfNeeded(LayoutBox& child, LayoutUnit newLogicalTo
p, BlockChildrenLayoutInfo&); |
| 324 void layoutBlockChild(LayoutBox& child, BlockChildrenLayoutInfo&); | 324 void layoutBlockChild(LayoutBox& child, BlockChildrenLayoutInfo&); |
| 325 void adjustPositionedBlock(LayoutBox& child, const MarginInfo&); | 325 void adjustPositionedBlock(LayoutBox& child, const MarginInfo&); |
| 326 void adjustFloatingBlock(const MarginInfo&); | 326 void adjustFloatingBlock(const MarginInfo&); |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 | 593 |
| 594 // END METHODS DEFINED IN LayoutBlockFlowLine | 594 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 595 | 595 |
| 596 }; | 596 }; |
| 597 | 597 |
| 598 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 598 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 599 | 599 |
| 600 } // namespace blink | 600 } // namespace blink |
| 601 | 601 |
| 602 #endif // LayoutBlockFlow_h | 602 #endif // LayoutBlockFlow_h |
| OLD | NEW |