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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 static void updateTransform(const LayoutObject&, PaintPropertyTreeBuilderCon
text&); | 79 static void updateTransform(const LayoutObject&, PaintPropertyTreeBuilderCon
text&); |
80 static void updateEffect(const LayoutObject&, PaintPropertyTreeBuilderContex
t&); | 80 static void updateEffect(const LayoutObject&, PaintPropertyTreeBuilderContex
t&); |
81 static void updateCssClip(const LayoutObject&, PaintPropertyTreeBuilderConte
xt&); | 81 static void updateCssClip(const LayoutObject&, PaintPropertyTreeBuilderConte
xt&); |
82 static void updateLocalBorderBoxContext(const LayoutObject&, const PaintProp
ertyTreeBuilderContext&); | 82 static void updateLocalBorderBoxContext(const LayoutObject&, const PaintProp
ertyTreeBuilderContext&); |
83 static void updateScrollbarPaintOffset(const LayoutObject&, const PaintPrope
rtyTreeBuilderContext&); | 83 static void updateScrollbarPaintOffset(const LayoutObject&, const PaintPrope
rtyTreeBuilderContext&); |
84 static void updateOverflowClip(const LayoutObject&, PaintPropertyTreeBuilder
Context&); | 84 static void updateOverflowClip(const LayoutObject&, PaintPropertyTreeBuilder
Context&); |
85 static void updatePerspective(const LayoutObject&, PaintPropertyTreeBuilderC
ontext&); | 85 static void updatePerspective(const LayoutObject&, PaintPropertyTreeBuilderC
ontext&); |
86 static void updateSvgLocalToBorderBoxTransform(const LayoutObject&, PaintPro
pertyTreeBuilderContext&); | 86 static void updateSvgLocalToBorderBoxTransform(const LayoutObject&, PaintPro
pertyTreeBuilderContext&); |
87 static void updateScrollTranslation(const LayoutObject&, PaintPropertyTreeBu
ilderContext&); | 87 static void updateScrollTranslation(const LayoutObject&, PaintPropertyTreeBu
ilderContext&); |
88 static void updateOutOfFlowContext(const LayoutObject&, PaintPropertyTreeBui
lderContext&); | 88 static void updateOutOfFlowContext(const LayoutObject&, PaintPropertyTreeBui
lderContext&); |
89 | |
90 // Holds references to root property nodes to keep them alive during tree wa
lk. | |
91 RefPtr<TransformPaintPropertyNode> transformRoot; | |
92 RefPtr<ClipPaintPropertyNode> clipRoot; | |
93 RefPtr<EffectPaintPropertyNode> effectRoot; | |
94 }; | 89 }; |
95 | 90 |
96 } // namespace blink | 91 } // namespace blink |
97 | 92 |
98 #endif // PaintPropertyTreeBuilder_h | 93 #endif // PaintPropertyTreeBuilder_h |
OLD | NEW |