| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 return containsFloats() ? m_floatingObjects->set().last().get() : nullptr; | 375 return containsFloats() ? m_floatingObjects->set().last().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 = ClearBoth) const; | 385 LayoutUnit lowestFloatLogicalBottom(EClear = EClear::kBoth) const; |
| 386 | 386 |
| 387 bool hasOverhangingFloats() const { | 387 bool hasOverhangingFloats() const { |
| 388 return parent() && containsFloats() && | 388 return parent() && containsFloats() && |
| 389 lowestFloatLogicalBottom() > logicalHeight(); | 389 lowestFloatLogicalBottom() > logicalHeight(); |
| 390 } | 390 } |
| 391 bool isOverhangingFloat(const FloatingObject& floatObject) const { | 391 bool isOverhangingFloat(const FloatingObject& floatObject) const { |
| 392 return logicalBottomForFloat(floatObject) > logicalHeight(); | 392 return logicalBottomForFloat(floatObject) > logicalHeight(); |
| 393 } | 393 } |
| 394 | 394 |
| 395 LayoutUnit logicalHeightWithVisibleOverflow() const final; | 395 LayoutUnit logicalHeightWithVisibleOverflow() const final; |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 void positionDialog(); | 948 void positionDialog(); |
| 949 | 949 |
| 950 // END METHODS DEFINED IN LayoutBlockFlowLine | 950 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 951 }; | 951 }; |
| 952 | 952 |
| 953 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 953 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 954 | 954 |
| 955 } // namespace blink | 955 } // namespace blink |
| 956 | 956 |
| 957 #endif // LayoutBlockFlow_h | 957 #endif // LayoutBlockFlow_h |
| OLD | NEW |