Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h

Issue 2831683003: Refactor to centralize code which decides whether ObjectPaintProperties are needed. (Closed)
Patch Set: none Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698