| 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 #include "core/paint/PaintPropertyTreeBuilder.h" | 5 #include "core/paint/PaintPropertyTreeBuilder.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include "core/dom/DOMNodeIds.h" | 8 #include "core/dom/DOMNodeIds.h" |
| 9 #include "core/frame/FrameView.h" | 9 #include "core/frame/FrameView.h" |
| 10 #include "core/frame/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
| 11 #include "core/frame/Settings.h" | 11 #include "core/frame/Settings.h" |
| 12 #include "core/layout/LayoutInline.h" | 12 #include "core/layout/LayoutInline.h" |
| 13 #include "core/layout/LayoutView.h" | 13 #include "core/layout/LayoutView.h" |
| 14 #include "core/layout/compositing/CompositingReasonFinder.h" | 14 #include "core/layout/compositing/CompositingReasonFinder.h" |
| 15 #include "core/layout/svg/LayoutSVGResourceMasker.h" | 15 #include "core/layout/svg/LayoutSVGResourceMasker.h" |
| 16 #include "core/layout/svg/LayoutSVGRoot.h" | 16 #include "core/layout/svg/LayoutSVGRoot.h" |
| 17 #include "core/layout/svg/SVGLayoutSupport.h" | 17 #include "core/layout/svg/SVGLayoutSupport.h" |
| 18 #include "core/layout/svg/SVGResources.h" | 18 #include "core/layout/svg/SVGResources.h" |
| 19 #include "core/layout/svg/SVGResourcesCache.h" | 19 #include "core/layout/svg/SVGResourcesCache.h" |
| 20 #include "core/paint/FindPaintOffsetAndVisualRectNeedingUpdate.h" | 20 #include "core/paint/FindPaintOffsetAndVisualRectNeedingUpdate.h" |
| 21 #include "core/paint/FindPropertiesNeedingUpdate.h" | 21 #include "core/paint/FindPropertiesNeedingUpdate.h" |
| 22 #include "core/paint/ObjectPaintProperties.h" | 22 #include "core/paint/ObjectPaintProperties.h" |
| 23 #include "core/paint/PaintLayer.h" | 23 #include "core/paint/PaintLayer.h" |
| 24 #include "core/paint/SVGRootPainter.h" | 24 #include "core/paint/SVGRootPainter.h" |
| 25 #include "platform/transforms/TransformationMatrix.h" | 25 #include "platform/transforms/TransformationMatrix.h" |
| 26 #include "wtf/PtrUtil.h" | 26 #include "platform/wtf/PtrUtil.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 PaintPropertyTreeBuilderContext::PaintPropertyTreeBuilderContext() | 30 PaintPropertyTreeBuilderContext::PaintPropertyTreeBuilderContext() |
| 31 : container_for_absolute_position(nullptr), | 31 : container_for_absolute_position(nullptr), |
| 32 current_effect(EffectPaintPropertyNode::Root()), | 32 current_effect(EffectPaintPropertyNode::Root()), |
| 33 input_clip_of_current_effect(ClipPaintPropertyNode::Root()), | 33 input_clip_of_current_effect(ClipPaintPropertyNode::Root()), |
| 34 force_subtree_update(false) { | 34 force_subtree_update(false) { |
| 35 current.clip = absolute_position.clip = fixed_position.clip = | 35 current.clip = absolute_position.clip = fixed_position.clip = |
| 36 ClipPaintPropertyNode::Root(); | 36 ClipPaintPropertyNode::Root(); |
| (...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1157 UpdateOverflowClip(object, context); | 1157 UpdateOverflowClip(object, context); |
| 1158 UpdatePerspective(object, context); | 1158 UpdatePerspective(object, context); |
| 1159 UpdateSvgLocalToBorderBoxTransform(object, context); | 1159 UpdateSvgLocalToBorderBoxTransform(object, context); |
| 1160 UpdateScrollAndScrollTranslation(object, context); | 1160 UpdateScrollAndScrollTranslation(object, context); |
| 1161 UpdateOutOfFlowContext(object, context); | 1161 UpdateOutOfFlowContext(object, context); |
| 1162 | 1162 |
| 1163 context.force_subtree_update |= object.SubtreeNeedsPaintPropertyUpdate(); | 1163 context.force_subtree_update |= object.SubtreeNeedsPaintPropertyUpdate(); |
| 1164 } | 1164 } |
| 1165 | 1165 |
| 1166 } // namespace blink | 1166 } // namespace blink |
| OLD | NEW |