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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "core/layout/LayoutView.h" | 46 #include "core/layout/LayoutView.h" |
47 #include "core/layout/TextAutosizer.h" | 47 #include "core/layout/TextAutosizer.h" |
48 #include "core/layout/line/GlyphOverflow.h" | 48 #include "core/layout/line/GlyphOverflow.h" |
49 #include "core/layout/line/InlineIterator.h" | 49 #include "core/layout/line/InlineIterator.h" |
50 #include "core/layout/line/InlineTextBox.h" | 50 #include "core/layout/line/InlineTextBox.h" |
51 #include "core/layout/line/LineWidth.h" | 51 #include "core/layout/line/LineWidth.h" |
52 #include "core/layout/shapes/ShapeOutsideInfo.h" | 52 #include "core/layout/shapes/ShapeOutsideInfo.h" |
53 #include "core/paint/BlockFlowPaintInvalidator.h" | 53 #include "core/paint/BlockFlowPaintInvalidator.h" |
54 #include "core/paint/PaintLayer.h" | 54 #include "core/paint/PaintLayer.h" |
55 #include "platform/RuntimeEnabledFeatures.h" | 55 #include "platform/RuntimeEnabledFeatures.h" |
56 #include "wtf/PtrUtil.h" | 56 #include "platform/wtf/PtrUtil.h" |
57 | 57 |
58 namespace blink { | 58 namespace blink { |
59 | 59 |
60 bool LayoutBlockFlow::can_propagate_float_into_sibling_ = false; | 60 bool LayoutBlockFlow::can_propagate_float_into_sibling_ = false; |
61 | 61 |
62 struct SameSizeAsLayoutBlockFlow : public LayoutBlock { | 62 struct SameSizeAsLayoutBlockFlow : public LayoutBlock { |
63 LineBoxList line_boxes; | 63 LineBoxList line_boxes; |
64 void* pointers[2]; | 64 void* pointers[2]; |
65 }; | 65 }; |
66 | 66 |
(...skipping 4595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4662 return LayoutBlock::InvalidatePaintIfNeeded(paint_invalidation_state); | 4662 return LayoutBlock::InvalidatePaintIfNeeded(paint_invalidation_state); |
4663 } | 4663 } |
4664 | 4664 |
4665 void LayoutBlockFlow::InvalidateDisplayItemClients( | 4665 void LayoutBlockFlow::InvalidateDisplayItemClients( |
4666 PaintInvalidationReason invalidation_reason) const { | 4666 PaintInvalidationReason invalidation_reason) const { |
4667 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients( | 4667 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients( |
4668 invalidation_reason); | 4668 invalidation_reason); |
4669 } | 4669 } |
4670 | 4670 |
4671 } // namespace blink | 4671 } // namespace blink |
OLD | NEW |