| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // scroll offset transform) and ensure the context is up to date. | 109 // scroll offset transform) and ensure the context is up to date. |
| 110 void updatePropertiesForChildren(const LayoutObject&, | 110 void updatePropertiesForChildren(const LayoutObject&, |
| 111 PaintPropertyTreeBuilderContext&); | 111 PaintPropertyTreeBuilderContext&); |
| 112 | 112 |
| 113 private: | 113 private: |
| 114 ALWAYS_INLINE static void updatePaintOffset(const LayoutBoxModelObject&, | 114 ALWAYS_INLINE static void updatePaintOffset(const LayoutBoxModelObject&, |
| 115 PaintPropertyTreeBuilderContext&); | 115 PaintPropertyTreeBuilderContext&); |
| 116 ALWAYS_INLINE static void updatePaintOffsetTranslation( | 116 ALWAYS_INLINE static void updatePaintOffsetTranslation( |
| 117 const LayoutBoxModelObject&, | 117 const LayoutBoxModelObject&, |
| 118 PaintPropertyTreeBuilderContext&); | 118 PaintPropertyTreeBuilderContext&); |
| 119 ALWAYS_INLINE static void updateForObjectLocation( | 119 ALWAYS_INLINE static void updateForObjectLocationAndSize( |
| 120 const LayoutObject&, | 120 const LayoutObject&, |
| 121 PaintPropertyTreeBuilderContext&); | 121 PaintPropertyTreeBuilderContext&); |
| 122 ALWAYS_INLINE static void updateTransform(const LayoutObject&, | 122 ALWAYS_INLINE static void updateTransform(const LayoutObject&, |
| 123 PaintPropertyTreeBuilderContext&); | 123 PaintPropertyTreeBuilderContext&); |
| 124 ALWAYS_INLINE static void updateTransformForNonRootSVG( | 124 ALWAYS_INLINE static void updateTransformForNonRootSVG( |
| 125 const LayoutObject&, | 125 const LayoutObject&, |
| 126 PaintPropertyTreeBuilderContext&); | 126 PaintPropertyTreeBuilderContext&); |
| 127 ALWAYS_INLINE static void updateEffect(const LayoutObject&, | 127 ALWAYS_INLINE static void updateEffect(const LayoutObject&, |
| 128 PaintPropertyTreeBuilderContext&); | 128 PaintPropertyTreeBuilderContext&); |
| 129 ALWAYS_INLINE static void updateFilter(const LayoutObject&, | 129 ALWAYS_INLINE static void updateFilter(const LayoutObject&, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 148 const LayoutObject&, | 148 const LayoutObject&, |
| 149 PaintPropertyTreeBuilderContext&); | 149 PaintPropertyTreeBuilderContext&); |
| 150 ALWAYS_INLINE static void updateOutOfFlowContext( | 150 ALWAYS_INLINE static void updateOutOfFlowContext( |
| 151 const LayoutObject&, | 151 const LayoutObject&, |
| 152 PaintPropertyTreeBuilderContext&); | 152 PaintPropertyTreeBuilderContext&); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 } // namespace blink | 155 } // namespace blink |
| 156 | 156 |
| 157 #endif // PaintPropertyTreeBuilder_h | 157 #endif // PaintPropertyTreeBuilder_h |
| OLD | NEW |