| 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 // |logicalTopMarginEdge| is the minimum logical top offset for the float. | 365 // |logicalTopMarginEdge| is the minimum logical top offset for the float. |
| 366 // The value returned is the minimum logical top offset for subsequent | 366 // The value returned is the minimum logical top offset for subsequent |
| 367 // floats. | 367 // floats. |
| 368 LayoutUnit positionAndLayoutFloat(FloatingObject&, | 368 LayoutUnit positionAndLayoutFloat(FloatingObject&, |
| 369 LayoutUnit logicalTopMarginEdge); | 369 LayoutUnit logicalTopMarginEdge); |
| 370 | 370 |
| 371 LayoutUnit nextFloatLogicalBottomBelow(LayoutUnit) const; | 371 LayoutUnit nextFloatLogicalBottomBelow(LayoutUnit) const; |
| 372 LayoutUnit nextFloatLogicalBottomBelowForBlock(LayoutUnit) const; | 372 LayoutUnit nextFloatLogicalBottomBelowForBlock(LayoutUnit) const; |
| 373 | 373 |
| 374 FloatingObject* lastFloatFromPreviousLine() const { | 374 FloatingObject* lastFloatFromPreviousLine() const { |
| 375 return containsFloats() ? m_floatingObjects->set().last().get() : nullptr; | 375 return containsFloats() ? m_floatingObjects->set().back().get() : nullptr; |
| 376 } | 376 } |
| 377 | 377 |
| 378 void setShouldDoFullPaintInvalidationForFirstLine(); | 378 void setShouldDoFullPaintInvalidationForFirstLine(); |
| 379 | 379 |
| 380 void simplifiedNormalFlowInlineLayout(); | 380 void simplifiedNormalFlowInlineLayout(); |
| 381 bool recalcInlineChildrenOverflowAfterStyleChange(); | 381 bool recalcInlineChildrenOverflowAfterStyleChange(); |
| 382 | 382 |
| 383 PositionWithAffinity positionForPoint(const LayoutPoint&) override; | 383 PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
| 384 | 384 |
| 385 LayoutUnit lowestFloatLogicalBottom(EClear = EClear::kBoth) const; | 385 LayoutUnit lowestFloatLogicalBottom(EClear = EClear::kBoth) const; |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 953 void positionDialog(); | 953 void positionDialog(); |
| 954 | 954 |
| 955 // END METHODS DEFINED IN LayoutBlockFlowLine | 955 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 956 }; | 956 }; |
| 957 | 957 |
| 958 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 958 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 959 | 959 |
| 960 } // namespace blink | 960 } // namespace blink |
| 961 | 961 |
| 962 #endif // LayoutBlockFlow_h | 962 #endif // LayoutBlockFlow_h |
| OLD | NEW |