OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PaintPropertyTreeBuilder_h | 5 #ifndef PaintPropertyTreeBuilder_h |
6 #define PaintPropertyTreeBuilder_h | 6 #define PaintPropertyTreeBuilder_h |
7 | 7 |
8 #include "platform/geometry/LayoutPoint.h" | 8 #include "platform/geometry/LayoutPoint.h" |
9 #include "platform/graphics/paint/ClipPaintPropertyNode.h" | 9 #include "platform/graphics/paint/ClipPaintPropertyNode.h" |
10 #include "platform/graphics/paint/EffectPaintPropertyNode.h" | 10 #include "platform/graphics/paint/EffectPaintPropertyNode.h" |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 PaintPropertyTreeBuilderContext&); | 154 PaintPropertyTreeBuilderContext&); |
155 ALWAYS_INLINE static void UpdateSvgLocalToBorderBoxTransform( | 155 ALWAYS_INLINE static void UpdateSvgLocalToBorderBoxTransform( |
156 const LayoutObject&, | 156 const LayoutObject&, |
157 PaintPropertyTreeBuilderContext&); | 157 PaintPropertyTreeBuilderContext&); |
158 ALWAYS_INLINE static void UpdateScrollAndScrollTranslation( | 158 ALWAYS_INLINE static void UpdateScrollAndScrollTranslation( |
159 const LayoutObject&, | 159 const LayoutObject&, |
160 PaintPropertyTreeBuilderContext&); | 160 PaintPropertyTreeBuilderContext&); |
161 ALWAYS_INLINE static void UpdateOutOfFlowContext( | 161 ALWAYS_INLINE static void UpdateOutOfFlowContext( |
162 const LayoutObject&, | 162 const LayoutObject&, |
163 PaintPropertyTreeBuilderContext&); | 163 PaintPropertyTreeBuilderContext&); |
| 164 |
| 165 // Ensure the ObjectPaintProperties object is created if it will be needed, or |
| 166 // cleared otherwise. |
| 167 ALWAYS_INLINE static void UpdatePaintProperties( |
| 168 const LayoutObject&, |
| 169 PaintPropertyTreeBuilderContext&); |
164 }; | 170 }; |
165 | 171 |
166 } // namespace blink | 172 } // namespace blink |
167 | 173 |
168 #endif // PaintPropertyTreeBuilder_h | 174 #endif // PaintPropertyTreeBuilder_h |
OLD | NEW |