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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 void addIntrudingFloats(LayoutBlockFlow* prev, LayoutUnit xoffset, LayoutUni
t yoffset); | 360 void addIntrudingFloats(LayoutBlockFlow* prev, LayoutUnit xoffset, LayoutUni
t yoffset); |
361 void addOverhangingFloats(LayoutBlockFlow* child, bool makeChildPaintOtherFl
oats); | 361 void addOverhangingFloats(LayoutBlockFlow* child, bool makeChildPaintOtherFl
oats); |
362 bool isOverhangingFloat(const FloatingObject& floatObject) const { return lo
gicalBottomForFloat(floatObject) > logicalHeight(); } | 362 bool isOverhangingFloat(const FloatingObject& floatObject) const { return lo
gicalBottomForFloat(floatObject) > logicalHeight(); } |
363 | 363 |
364 LayoutUnit lowestFloatLogicalBottom(FloatingObject::Type = FloatingObject::F
loatLeftRight) const; | 364 LayoutUnit lowestFloatLogicalBottom(FloatingObject::Type = FloatingObject::F
loatLeftRight) const; |
365 | 365 |
366 bool hitTestFloats(HitTestResult&, const HitTestLocation& locationInContaine
r, const LayoutPoint& accumulatedOffset); | 366 bool hitTestFloats(HitTestResult&, const HitTestLocation& locationInContaine
r, const LayoutPoint& accumulatedOffset); |
367 | 367 |
368 void invalidatePaintForOverhangingFloats(bool paintAllDescendants) final; | 368 void invalidatePaintForOverhangingFloats(bool paintAllDescendants) final; |
369 void invalidatePaintForOverflow() final; | 369 void invalidatePaintForOverflow() final; |
| 370 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason) const override; |
| 371 |
370 void paintFloats(const PaintInfo&, const LayoutPoint&) const final; | 372 void paintFloats(const PaintInfo&, const LayoutPoint&) const final; |
371 virtual void clipOutFloatingObjects(const LayoutBlock*, ClipScope&, const La
youtPoint&, const LayoutSize&) const; | 373 virtual void clipOutFloatingObjects(const LayoutBlock*, ClipScope&, const La
youtPoint&, const LayoutSize&) const; |
372 void clearFloats(EClear); | 374 void clearFloats(EClear); |
373 | 375 |
374 LayoutUnit logicalRightFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit
fixedOffset, LayoutUnit logicalHeight) const; | 376 LayoutUnit logicalRightFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit
fixedOffset, LayoutUnit logicalHeight) const; |
375 LayoutUnit logicalLeftFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit f
ixedOffset, LayoutUnit logicalHeight) const; | 377 LayoutUnit logicalLeftFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit f
ixedOffset, LayoutUnit logicalHeight) const; |
376 | 378 |
377 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit logicalTop, Layo
utUnit fixedOffset, LayoutUnit* heightRemaining) const; | 379 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit logicalTop, Layo
utUnit fixedOffset, LayoutUnit* heightRemaining) const; |
378 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit logicalTop, Layou
tUnit fixedOffset, LayoutUnit* heightRemaining) const; | 380 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit logicalTop, Layou
tUnit fixedOffset, LayoutUnit* heightRemaining) const; |
379 | 381 |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 | 628 |
627 // END METHODS DEFINED IN LayoutBlockFlowLine | 629 // END METHODS DEFINED IN LayoutBlockFlowLine |
628 | 630 |
629 }; | 631 }; |
630 | 632 |
631 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 633 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
632 | 634 |
633 } // namespace blink | 635 } // namespace blink |
634 | 636 |
635 #endif // LayoutBlockFlow_h | 637 #endif // LayoutBlockFlow_h |
OLD | NEW |