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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 void stepRemoved(const RenderGeometryMapStep&); | 116 void stepRemoved(const RenderGeometryMapStep&); |
117 | 117 |
118 bool hasNonUniformStep() const { return m_nonUniformStepsCount; } | 118 bool hasNonUniformStep() const { return m_nonUniformStepsCount; } |
119 bool hasTransformStep() const { return m_transformedStepsCount; } | 119 bool hasTransformStep() const { return m_transformedStepsCount; } |
120 bool hasFixedPositionStep() const { return m_fixedStepsCount; } | 120 bool hasFixedPositionStep() const { return m_fixedStepsCount; } |
121 | 121 |
122 #ifndef NDEBUG | 122 #ifndef NDEBUG |
123 void dumpSteps() const; | 123 void dumpSteps() const; |
124 #endif | 124 #endif |
125 | 125 |
126 #if ASSERT_ENABLED | 126 #if ENABLE(ASSERT) |
127 bool isTopmostRenderView(const RenderObject* renderer) const; | 127 bool isTopmostRenderView(const RenderObject* renderer) const; |
128 #endif | 128 #endif |
129 | 129 |
130 typedef Vector<RenderGeometryMapStep, 32> RenderGeometryMapSteps; | 130 typedef Vector<RenderGeometryMapStep, 32> RenderGeometryMapSteps; |
131 | 131 |
132 size_t m_insertionPosition; | 132 size_t m_insertionPosition; |
133 int m_nonUniformStepsCount; | 133 int m_nonUniformStepsCount; |
134 int m_transformedStepsCount; | 134 int m_transformedStepsCount; |
135 int m_fixedStepsCount; | 135 int m_fixedStepsCount; |
136 RenderGeometryMapSteps m_mapping; | 136 RenderGeometryMapSteps m_mapping; |
137 LayoutSize m_accumulatedOffset; | 137 LayoutSize m_accumulatedOffset; |
138 MapCoordinatesFlags m_mapCoordinatesFlags; | 138 MapCoordinatesFlags m_mapCoordinatesFlags; |
139 }; | 139 }; |
140 | 140 |
141 } // namespace WebCore | 141 } // namespace WebCore |
142 | 142 |
143 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); |
144 | 144 |
145 #endif // RenderGeometryMap_h | 145 #endif // RenderGeometryMap_h |
OLD | NEW |