| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "core/layout/LayoutMultiColumnFlowThread.h" | 41 #include "core/layout/LayoutMultiColumnFlowThread.h" |
| 42 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" | 42 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" |
| 43 #include "core/layout/LayoutPagedFlowThread.h" | 43 #include "core/layout/LayoutPagedFlowThread.h" |
| 44 #include "core/layout/LayoutView.h" | 44 #include "core/layout/LayoutView.h" |
| 45 #include "core/layout/TextAutosizer.h" | 45 #include "core/layout/TextAutosizer.h" |
| 46 #include "core/layout/line/GlyphOverflow.h" | 46 #include "core/layout/line/GlyphOverflow.h" |
| 47 #include "core/layout/line/InlineIterator.h" | 47 #include "core/layout/line/InlineIterator.h" |
| 48 #include "core/layout/line/InlineTextBox.h" | 48 #include "core/layout/line/InlineTextBox.h" |
| 49 #include "core/layout/line/LineWidth.h" | 49 #include "core/layout/line/LineWidth.h" |
| 50 #include "core/layout/shapes/ShapeOutsideInfo.h" | 50 #include "core/layout/shapes/ShapeOutsideInfo.h" |
| 51 #include "core/paint/BlockFlowPaintInvalidator.h" |
| 51 #include "core/paint/PaintLayer.h" | 52 #include "core/paint/PaintLayer.h" |
| 52 #include "wtf/PtrUtil.h" | 53 #include "wtf/PtrUtil.h" |
| 53 #include <memory> | 54 #include <memory> |
| 54 | 55 |
| 55 namespace blink { | 56 namespace blink { |
| 56 | 57 |
| 57 bool LayoutBlockFlow::s_canPropagateFloatIntoSibling = false; | 58 bool LayoutBlockFlow::s_canPropagateFloatIntoSibling = false; |
| 58 | 59 |
| 59 struct SameSizeAsLayoutBlockFlow : public LayoutBlock { | 60 struct SameSizeAsLayoutBlockFlow : public LayoutBlock { |
| 60 LineBoxList lineBoxes; | 61 LineBoxList lineBoxes; |
| (...skipping 3713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3774 LayoutRect rect(additionalOffset.x() + curr->x(), additionalOffset.y
() + top, curr->width(), bottom - top); | 3775 LayoutRect rect(additionalOffset.x() + curr->x(), additionalOffset.y
() + top, curr->width(), bottom - top); |
| 3775 if (!rect.isEmpty()) | 3776 if (!rect.isEmpty()) |
| 3776 rects.append(rect); | 3777 rects.append(rect); |
| 3777 } | 3778 } |
| 3778 } | 3779 } |
| 3779 | 3780 |
| 3780 if (inlineElementContinuation) | 3781 if (inlineElementContinuation) |
| 3781 inlineElementContinuation->addOutlineRects(rects, additionalOffset + (in
lineElementContinuation->containingBlock()->location() - location()), includeBlo
ckOverflows); | 3782 inlineElementContinuation->addOutlineRects(rects, additionalOffset + (in
lineElementContinuation->containingBlock()->location() - location()), includeBlo
ckOverflows); |
| 3782 } | 3783 } |
| 3783 | 3784 |
| 3785 PaintInvalidationReason LayoutBlockFlow::invalidatePaintIfNeeded(const PaintInva
lidatorContext& context) const |
| 3786 { |
| 3787 return BlockFlowPaintInvalidator(*this, context).invalidatePaintIfNeeded(); |
| 3788 } |
| 3789 |
| 3784 } // namespace blink | 3790 } // namespace blink |
| OLD | NEW |