| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 FloatingObject* lastFloatFromPreviousLine() const | 282 FloatingObject* lastFloatFromPreviousLine() const |
| 283 { | 283 { |
| 284 return containsFloats() ? m_floatingObjects->set().last().get() : nullpt
r; | 284 return containsFloats() ? m_floatingObjects->set().last().get() : nullpt
r; |
| 285 } | 285 } |
| 286 | 286 |
| 287 void invalidateDisplayItemClientsOfFirstLine(); | 287 void invalidateDisplayItemClientsOfFirstLine(); |
| 288 | 288 |
| 289 void simplifiedNormalFlowInlineLayout(); | 289 void simplifiedNormalFlowInlineLayout(); |
| 290 bool recalcInlineChildrenOverflowAfterStyleChange(); | 290 bool recalcInlineChildrenOverflowAfterStyleChange(); |
| 291 | 291 |
| 292 PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
| 293 |
| 292 #ifndef NDEBUG | 294 #ifndef NDEBUG |
| 293 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr,
const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr
) const; | 295 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr,
const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr
) const; |
| 294 #endif | 296 #endif |
| 295 | 297 |
| 296 protected: | 298 protected: |
| 297 void rebuildFloatsFromIntruding(); | 299 void rebuildFloatsFromIntruding(); |
| 298 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati
onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge); | 300 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati
onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge); |
| 299 void addLowestFloatFromChildren(LayoutBlockFlow*); | 301 void addLowestFloatFromChildren(LayoutBlockFlow*); |
| 300 | 302 |
| 301 void createFloatingObjects(); | 303 void createFloatingObjects(); |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 | 623 |
| 622 // END METHODS DEFINED IN LayoutBlockFlowLine | 624 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 623 | 625 |
| 624 }; | 626 }; |
| 625 | 627 |
| 626 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 628 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 627 | 629 |
| 628 } // namespace blink | 630 } // namespace blink |
| 629 | 631 |
| 630 #endif // LayoutBlockFlow_h | 632 #endif // LayoutBlockFlow_h |
| OLD | NEW |