| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 void buildTreeNodesForSelf(const LayoutObject&, | 87 void buildTreeNodesForSelf(const LayoutObject&, |
| 88 PaintPropertyTreeBuilderContext&); | 88 PaintPropertyTreeBuilderContext&); |
| 89 void buildTreeNodesForChildren(const LayoutObject&, | 89 void buildTreeNodesForChildren(const LayoutObject&, |
| 90 PaintPropertyTreeBuilderContext&); | 90 PaintPropertyTreeBuilderContext&); |
| 91 | 91 |
| 92 private: | 92 private: |
| 93 static void updatePaintOffsetTranslation(const LayoutObject&, | 93 static void updatePaintOffsetTranslation(const LayoutObject&, |
| 94 PaintPropertyTreeBuilderContext&); | 94 PaintPropertyTreeBuilderContext&); |
| 95 static void updateTransform(const LayoutObject&, | 95 static void updateTransform(const LayoutObject&, |
| 96 PaintPropertyTreeBuilderContext&); | 96 PaintPropertyTreeBuilderContext&); |
| 97 static void updateTransformForNonRootSVG(const LayoutObject&, |
| 98 PaintPropertyTreeBuilderContext&); |
| 97 static void updateEffect(const LayoutObject&, | 99 static void updateEffect(const LayoutObject&, |
| 98 PaintPropertyTreeBuilderContext&); | 100 PaintPropertyTreeBuilderContext&); |
| 99 static void updateCssClip(const LayoutObject&, | 101 static void updateCssClip(const LayoutObject&, |
| 100 PaintPropertyTreeBuilderContext&); | 102 PaintPropertyTreeBuilderContext&); |
| 101 static void updateLocalBorderBoxContext(const LayoutObject&, | 103 static void updateLocalBorderBoxContext(const LayoutObject&, |
| 102 PaintPropertyTreeBuilderContext&); | 104 PaintPropertyTreeBuilderContext&); |
| 103 static void updateScrollbarPaintOffset( | 105 static void updateScrollbarPaintOffset( |
| 104 const LayoutObject&, | 106 const LayoutObject&, |
| 105 const PaintPropertyTreeBuilderContext&); | 107 const PaintPropertyTreeBuilderContext&); |
| 106 static void updateMainThreadScrollingReasons( | 108 static void updateMainThreadScrollingReasons( |
| 107 const LayoutObject&, | 109 const LayoutObject&, |
| 108 PaintPropertyTreeBuilderContext&); | 110 PaintPropertyTreeBuilderContext&); |
| 109 static void updateOverflowClip(const LayoutObject&, | 111 static void updateOverflowClip(const LayoutObject&, |
| 110 PaintPropertyTreeBuilderContext&); | 112 PaintPropertyTreeBuilderContext&); |
| 111 static void updatePerspective(const LayoutObject&, | 113 static void updatePerspective(const LayoutObject&, |
| 112 PaintPropertyTreeBuilderContext&); | 114 PaintPropertyTreeBuilderContext&); |
| 113 static void updateSvgLocalToBorderBoxTransform( | 115 static void updateSvgLocalToBorderBoxTransform( |
| 114 const LayoutObject&, | 116 const LayoutObject&, |
| 115 PaintPropertyTreeBuilderContext&); | 117 PaintPropertyTreeBuilderContext&); |
| 116 static void updateScrollAndScrollTranslation( | 118 static void updateScrollAndScrollTranslation( |
| 117 const LayoutObject&, | 119 const LayoutObject&, |
| 118 PaintPropertyTreeBuilderContext&); | 120 PaintPropertyTreeBuilderContext&); |
| 119 static void updateOutOfFlowContext(const LayoutObject&, | 121 static void updateOutOfFlowContext(const LayoutObject&, |
| 120 PaintPropertyTreeBuilderContext&); | 122 PaintPropertyTreeBuilderContext&); |
| 121 }; | 123 }; |
| 122 | 124 |
| 123 } // namespace blink | 125 } // namespace blink |
| 124 | 126 |
| 125 #endif // PaintPropertyTreeBuilder_h | 127 #endif // PaintPropertyTreeBuilder_h |
| OLD | NEW |