| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 void setStaticInlinePositionForChild(RenderBox*, LayoutUnit inlinePosition); | 116 void setStaticInlinePositionForChild(RenderBox*, LayoutUnit inlinePosition); |
| 117 void updateStaticInlinePositionForChild(RenderBox*, LayoutUnit logicalTop); | 117 void updateStaticInlinePositionForChild(RenderBox*, LayoutUnit logicalTop); |
| 118 | 118 |
| 119 static bool shouldSkipCreatingRunsForObject(RenderObject* obj) | 119 static bool shouldSkipCreatingRunsForObject(RenderObject* obj) |
| 120 { | 120 { |
| 121 return obj->isFloating() || (obj->isOutOfFlowPositioned() && !obj->style
()->isOriginalDisplayInlineType() && !obj->container()->isRenderInline()); | 121 return obj->isFloating() || (obj->isOutOfFlowPositioned() && !obj->style
()->isOriginalDisplayInlineType() && !obj->container()->isRenderInline()); |
| 122 } | 122 } |
| 123 | 123 |
| 124 void addOverflowFromInlineChildren(); | 124 void addOverflowFromInlineChildren(); |
| 125 | 125 |
| 126 // FIXME: This should be const to avoid a const_cast, but can modify child d
irty bits and RenderCombineText | 126 // FIXME: This should be const to avoid a const_cast, but can modify child d
irty bits |
| 127 void computeInlinePreferredLogicalWidths(LayoutUnit& minLogicalWidth, Layout
Unit& maxLogicalWidth); | 127 void computeInlinePreferredLogicalWidths(LayoutUnit& minLogicalWidth, Layout
Unit& maxLogicalWidth); |
| 128 | 128 |
| 129 GapRects inlineSelectionGaps(RenderBlock* rootBlock, const LayoutPoint& root
BlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 129 GapRects inlineSelectionGaps(RenderBlock* rootBlock, const LayoutPoint& root
BlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 130 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, const PaintInfo*); | 130 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, const PaintInfo*); |
| 131 | 131 |
| 132 virtual bool avoidsFloats() const override; | 132 virtual bool avoidsFloats() const override; |
| 133 | 133 |
| 134 protected: | 134 protected: |
| 135 void rebuildFloatsFromIntruding(); | 135 void rebuildFloatsFromIntruding(); |
| 136 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati
onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge); | 136 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati
onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge); |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 | 385 |
| 386 // END METHODS DEFINED IN RenderBlockLineLayout | 386 // END METHODS DEFINED IN RenderBlockLineLayout |
| 387 | 387 |
| 388 }; | 388 }; |
| 389 | 389 |
| 390 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlockFlow, isRenderBlockFlow()); | 390 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlockFlow, isRenderBlockFlow()); |
| 391 | 391 |
| 392 } // namespace blink | 392 } // namespace blink |
| 393 | 393 |
| 394 #endif // RenderBlockFlow_h | 394 #endif // RenderBlockFlow_h |
| OLD | NEW |