OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 public: | 49 public: |
50 LayoutFlowThread(); | 50 LayoutFlowThread(); |
51 ~LayoutFlowThread() override { } | 51 ~LayoutFlowThread() override { } |
52 | 52 |
53 bool isLayoutFlowThread() const final { return true; } | 53 bool isLayoutFlowThread() const final { return true; } |
54 virtual bool isLayoutMultiColumnFlowThread() const { return false; } | 54 virtual bool isLayoutMultiColumnFlowThread() const { return false; } |
55 virtual bool isLayoutPagedFlowThread() const { return false; } | 55 virtual bool isLayoutPagedFlowThread() const { return false; } |
56 | 56 |
57 bool supportsPaintInvalidationStateCachedOffsets() const override { return f
alse; } | 57 bool supportsPaintInvalidationStateCachedOffsets() const override { return f
alse; } |
58 | 58 |
| 59 static LayoutFlowThread* locateFlowThreadContainingBlockOf(const LayoutObjec
t&); |
| 60 |
59 void layout() override; | 61 void layout() override; |
60 | 62 |
61 // Always create a Layer for the LayoutFlowThread so that we | 63 // Always create a Layer for the LayoutFlowThread so that we |
62 // can easily avoid drawing the children directly. | 64 // can easily avoid drawing the children directly. |
63 DeprecatedPaintLayerType layerTypeRequired() const final { return NormalDepr
ecatedPaintLayer; } | 65 DeprecatedPaintLayerType layerTypeRequired() const final { return NormalDepr
ecatedPaintLayer; } |
64 | 66 |
65 // Skip past a column spanner during flow thread layout. Spanners are not la
id out inside the | 67 // Skip past a column spanner during flow thread layout. Spanners are not la
id out inside the |
66 // flow thread, since the flow thread is not in a spanner's containing block
chain (since the | 68 // flow thread, since the flow thread is not in a spanner's containing block
chain (since the |
67 // containing block is the multicol container). | 69 // containing block is the multicol container). |
68 virtual void skipColumnSpanner(LayoutBox*, LayoutUnit logicalTopInFlowThread
) { } | 70 virtual void skipColumnSpanner(LayoutBox*, LayoutUnit logicalTopInFlowThread
) { } |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 }; | 159 }; |
158 | 160 |
159 template <> struct ValueToString<LayoutMultiColumnSet*> { | 161 template <> struct ValueToString<LayoutMultiColumnSet*> { |
160 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } | 162 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } |
161 }; | 163 }; |
162 #endif | 164 #endif |
163 | 165 |
164 } // namespace blink | 166 } // namespace blink |
165 | 167 |
166 #endif // LayoutFlowThread_h | 168 #endif // LayoutFlowThread_h |
OLD | NEW |