| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "platform/geometry/FloatQuad.h" | 31 #include "platform/geometry/FloatQuad.h" |
| 32 #include "platform/geometry/IntSize.h" | 32 #include "platform/geometry/IntSize.h" |
| 33 #include "platform/geometry/LayoutSize.h" | 33 #include "platform/geometry/LayoutSize.h" |
| 34 #include "platform/transforms/TransformationMatrix.h" | 34 #include "platform/transforms/TransformationMatrix.h" |
| 35 #include "wtf/OwnPtr.h" | 35 #include "wtf/OwnPtr.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace WebCore { |
| 38 | 38 |
| 39 class RenderLayer; | 39 class RenderLayer; |
| 40 class RenderLayerModelObject; | 40 class RenderLayerModelObject; |
| 41 class RenderView; | |
| 42 class TransformState; | 41 class TransformState; |
| 43 | 42 |
| 44 // Stores data about how to map from one renderer to its container. | 43 // Stores data about how to map from one renderer to its container. |
| 45 struct RenderGeometryMapStep { | 44 struct RenderGeometryMapStep { |
| 46 RenderGeometryMapStep(const RenderGeometryMapStep& o) | 45 RenderGeometryMapStep(const RenderGeometryMapStep& o) |
| 47 : m_renderer(o.m_renderer) | 46 : m_renderer(o.m_renderer) |
| 48 , m_offset(o.m_offset) | 47 , m_offset(o.m_offset) |
| 49 , m_offsetForFixedPosition(o.m_offsetForFixedPosition) | 48 , m_offsetForFixedPosition(o.m_offsetForFixedPosition) |
| 50 , m_accumulatingTransform(o.m_accumulatingTransform) | 49 , m_accumulatingTransform(o.m_accumulatingTransform) |
| 51 , m_isNonUniform(o.m_isNonUniform) | 50 , m_isNonUniform(o.m_isNonUniform) |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 RenderGeometryMapSteps m_mapping; | 136 RenderGeometryMapSteps m_mapping; |
| 138 LayoutSize m_accumulatedOffset; | 137 LayoutSize m_accumulatedOffset; |
| 139 MapCoordinatesFlags m_mapCoordinatesFlags; | 138 MapCoordinatesFlags m_mapCoordinatesFlags; |
| 140 }; | 139 }; |
| 141 | 140 |
| 142 } // namespace WebCore | 141 } // namespace WebCore |
| 143 | 142 |
| 144 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(WebCore::RenderGeometryMapSte
p); | 143 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(WebCore::RenderGeometryMapSte
p); |
| 145 | 144 |
| 146 #endif // RenderGeometryMap_h | 145 #endif // RenderGeometryMap_h |
| OLD | NEW |