| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 FloatingObject* lastFloatFromPreviousLine() const | 274 FloatingObject* lastFloatFromPreviousLine() const |
| 275 { | 275 { |
| 276 return containsFloats() ? m_floatingObjects->set().last().get() : nullpt
r; | 276 return containsFloats() ? m_floatingObjects->set().last().get() : nullpt
r; |
| 277 } | 277 } |
| 278 | 278 |
| 279 void invalidateDisplayItemClientsOfFirstLine(); | 279 void invalidateDisplayItemClientsOfFirstLine(); |
| 280 | 280 |
| 281 void simplifiedNormalFlowInlineLayout(); | 281 void simplifiedNormalFlowInlineLayout(); |
| 282 bool recalcInlineChildrenOverflowAfterStyleChange(); | 282 bool recalcInlineChildrenOverflowAfterStyleChange(); |
| 283 | 283 |
| 284 #ifndef NDEBUG |
| 285 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr,
const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr
) const; |
| 286 #endif |
| 287 |
| 284 protected: | 288 protected: |
| 285 void rebuildFloatsFromIntruding(); | 289 void rebuildFloatsFromIntruding(); |
| 286 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati
onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge); | 290 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati
onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge); |
| 287 void addLowestFloatFromChildren(LayoutBlockFlow*); | 291 void addLowestFloatFromChildren(LayoutBlockFlow*); |
| 288 | 292 |
| 289 void createFloatingObjects(); | 293 void createFloatingObjects(); |
| 290 | 294 |
| 291 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; | 295 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; |
| 292 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 296 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 293 | 297 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 | 611 |
| 608 // END METHODS DEFINED IN LayoutBlockFlowLine | 612 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 609 | 613 |
| 610 }; | 614 }; |
| 611 | 615 |
| 612 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 616 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 613 | 617 |
| 614 } // namespace blink | 618 } // namespace blink |
| 615 | 619 |
| 616 #endif // LayoutBlockFlow_h | 620 #endif // LayoutBlockFlow_h |
| OLD | NEW |