| 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 TransformPaintPropertyNode_h | 5 #ifndef TransformPaintPropertyNode_h |
| 6 #define TransformPaintPropertyNode_h | 6 #define TransformPaintPropertyNode_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/geometry/FloatPoint3D.h" | 9 #include "platform/geometry/FloatPoint3D.h" |
| 10 #include "platform/graphics/CompositingReasons.h" | 10 #include "platform/graphics/CompositingReasons.h" |
| 11 #include "platform/graphics/CompositorElementId.h" | 11 #include "platform/graphics/CompositorElementId.h" |
| 12 #include "platform/graphics/paint/GeometryMapperTransformCache.h" | 12 #include "platform/graphics/paint/GeometryMapperTransformCache.h" |
| 13 #include "platform/graphics/paint/ScrollPaintPropertyNode.h" | 13 #include "platform/graphics/paint/ScrollPaintPropertyNode.h" |
| 14 #include "platform/transforms/TransformationMatrix.h" | 14 #include "platform/transforms/TransformationMatrix.h" |
| 15 #include "wtf/PassRefPtr.h" | 15 #include "platform/wtf/PassRefPtr.h" |
| 16 #include "wtf/RefCounted.h" | 16 #include "platform/wtf/RefCounted.h" |
| 17 #include "wtf/RefPtr.h" | 17 #include "platform/wtf/RefPtr.h" |
| 18 #include "wtf/text/WTFString.h" | 18 #include "platform/wtf/text/WTFString.h" |
| 19 | 19 |
| 20 #include <iosfwd> | 20 #include <iosfwd> |
| 21 | 21 |
| 22 namespace blink { | 22 namespace blink { |
| 23 | 23 |
| 24 // A transform (e.g., created by css "transform" or "perspective", or for | 24 // A transform (e.g., created by css "transform" or "perspective", or for |
| 25 // internal positioning such as paint offset or scrolling) along with a | 25 // internal positioning such as paint offset or scrolling) along with a |
| 26 // reference to the parent TransformPaintPropertyNode. The scroll tree is owned | 26 // reference to the parent TransformPaintPropertyNode. The scroll tree is owned |
| 27 // by transform nodes and a transform node for scrolling will have a 2d | 27 // by transform nodes and a transform node for scrolling will have a 2d |
| 28 // translation for the scroll offset and an associated ScrollPaintPropertyNode. | 28 // translation for the scroll offset and an associated ScrollPaintPropertyNode. |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 std::unique_ptr<GeometryMapperTransformCache> m_geometryMapperTransformCache; | 234 std::unique_ptr<GeometryMapperTransformCache> m_geometryMapperTransformCache; |
| 235 }; | 235 }; |
| 236 | 236 |
| 237 // Redeclared here to avoid ODR issues. | 237 // Redeclared here to avoid ODR issues. |
| 238 // See platform/testing/PaintPrinters.h. | 238 // See platform/testing/PaintPrinters.h. |
| 239 void PrintTo(const TransformPaintPropertyNode&, std::ostream*); | 239 void PrintTo(const TransformPaintPropertyNode&, std::ostream*); |
| 240 | 240 |
| 241 } // namespace blink | 241 } // namespace blink |
| 242 | 242 |
| 243 #endif // TransformPaintPropertyNode_h | 243 #endif // TransformPaintPropertyNode_h |
| OLD | NEW |