| 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 | 554 |
| 555 // Used to store state between styleWillChange and styleDidChange | 555 // Used to store state between styleWillChange and styleDidChange |
| 556 static bool s_canPropagateFloatIntoSibling; | 556 static bool s_canPropagateFloatIntoSibling; |
| 557 | 557 |
| 558 LayoutBlockFlowRareData& ensureRareData(); | 558 LayoutBlockFlowRareData& ensureRareData(); |
| 559 | 559 |
| 560 LayoutUnit m_paintInvalidationLogicalTop; | 560 LayoutUnit m_paintInvalidationLogicalTop; |
| 561 LayoutUnit m_paintInvalidationLogicalBottom; | 561 LayoutUnit m_paintInvalidationLogicalBottom; |
| 562 | 562 |
| 563 bool isSelfCollapsingBlock() const override; | 563 bool isSelfCollapsingBlock() const override; |
| 564 bool checkIfIsSelfCollapsingBlock() const; |
| 564 | 565 |
| 565 protected: | 566 protected: |
| 566 OwnPtr<LayoutBlockFlowRareData> m_rareData; | 567 OwnPtr<LayoutBlockFlowRareData> m_rareData; |
| 567 OwnPtr<FloatingObjects> m_floatingObjects; | 568 OwnPtr<FloatingObjects> m_floatingObjects; |
| 568 | 569 |
| 569 friend class MarginInfo; | 570 friend class MarginInfo; |
| 570 friend class LineBreaker; | 571 friend class LineBreaker; |
| 571 friend class LineWidth; // needs to know FloatingObject | 572 friend class LineWidth; // needs to know FloatingObject |
| 572 | 573 |
| 573 // FIXME-BLOCKFLOW: These methods have implementations in | 574 // FIXME-BLOCKFLOW: These methods have implementations in |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 | 606 |
| 606 // END METHODS DEFINED IN LayoutBlockFlowLine | 607 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 607 | 608 |
| 608 }; | 609 }; |
| 609 | 610 |
| 610 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 611 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 611 | 612 |
| 612 } // namespace blink | 613 } // namespace blink |
| 613 | 614 |
| 614 #endif // LayoutBlockFlow_h | 615 #endif // LayoutBlockFlow_h |
| OLD | NEW |