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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 void addIntrudingFloats(LayoutBlockFlow* prev, LayoutUnit xoffset, LayoutUni
t yoffset); | 378 void addIntrudingFloats(LayoutBlockFlow* prev, LayoutUnit xoffset, LayoutUni
t yoffset); |
379 void addOverhangingFloats(LayoutBlockFlow* child, bool makeChildPaintOtherFl
oats); | 379 void addOverhangingFloats(LayoutBlockFlow* child, bool makeChildPaintOtherFl
oats); |
380 bool isOverhangingFloat(const FloatingObject& floatObject) const { return lo
gicalBottomForFloat(floatObject) > logicalHeight(); } | 380 bool isOverhangingFloat(const FloatingObject& floatObject) const { return lo
gicalBottomForFloat(floatObject) > logicalHeight(); } |
381 | 381 |
382 bool hitTestFloats(HitTestResult&, const HitTestLocation& locationInContaine
r, const LayoutPoint& accumulatedOffset); | 382 bool hitTestFloats(HitTestResult&, const HitTestLocation& locationInContaine
r, const LayoutPoint& accumulatedOffset); |
383 | 383 |
384 void invalidatePaintForOverhangingFloats(bool paintAllDescendants) final; | 384 void invalidatePaintForOverhangingFloats(bool paintAllDescendants) final; |
385 void invalidatePaintForOverflow() final; | 385 void invalidatePaintForOverflow() final; |
386 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason) const override; | 386 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason) const override; |
387 | 387 |
388 void paintFloats(const PaintInfo&, const LayoutPoint&) const final; | 388 void paintContentsAndFloats(const PaintInfo&, const LayoutPoint&) const fina
l; |
389 virtual void clipOutFloatingObjects(const LayoutBlock*, ClipScope&, const La
youtPoint&, const LayoutSize&) const; | 389 virtual void clipOutFloatingObjects(const LayoutBlock*, ClipScope&, const La
youtPoint&, const LayoutSize&) const; |
390 void clearFloats(EClear); | 390 void clearFloats(EClear); |
391 | 391 |
392 LayoutUnit logicalRightFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit
fixedOffset, LayoutUnit logicalHeight) const; | 392 LayoutUnit logicalRightFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit
fixedOffset, LayoutUnit logicalHeight) const; |
393 LayoutUnit logicalLeftFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit f
ixedOffset, LayoutUnit logicalHeight) const; | 393 LayoutUnit logicalLeftFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit f
ixedOffset, LayoutUnit logicalHeight) const; |
394 | 394 |
395 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit logicalTop, Layo
utUnit fixedOffset, LayoutUnit* heightRemaining) const; | 395 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit logicalTop, Layo
utUnit fixedOffset, LayoutUnit* heightRemaining) const; |
396 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit logicalTop, Layou
tUnit fixedOffset, LayoutUnit* heightRemaining) const; | 396 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit logicalTop, Layou
tUnit fixedOffset, LayoutUnit* heightRemaining) const; |
397 | 397 |
398 LayoutUnit adjustLogicalRightOffsetForLine(LayoutUnit offsetFromFloats, Inde
ntTextOrNot applyTextIndent) const; | 398 LayoutUnit adjustLogicalRightOffsetForLine(LayoutUnit offsetFromFloats, Inde
ntTextOrNot applyTextIndent) const; |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 | 664 |
665 // END METHODS DEFINED IN LayoutBlockFlowLine | 665 // END METHODS DEFINED IN LayoutBlockFlowLine |
666 | 666 |
667 }; | 667 }; |
668 | 668 |
669 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 669 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
670 | 670 |
671 } // namespace blink | 671 } // namespace blink |
672 | 672 |
673 #endif // LayoutBlockFlow_h | 673 #endif // LayoutBlockFlow_h |
OLD | NEW |