| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void stepRemoved(const LayoutGeometryMapStep&); | 98 void stepRemoved(const LayoutGeometryMapStep&); |
| 99 | 99 |
| 100 bool hasNonUniformStep() const { return m_nonUniformStepsCount; } | 100 bool hasNonUniformStep() const { return m_nonUniformStepsCount; } |
| 101 bool hasTransformStep() const { return m_transformedStepsCount; } | 101 bool hasTransformStep() const { return m_transformedStepsCount; } |
| 102 bool hasFixedPositionStep() const { return m_fixedStepsCount; } | 102 bool hasFixedPositionStep() const { return m_fixedStepsCount; } |
| 103 | 103 |
| 104 #ifndef NDEBUG | 104 #ifndef NDEBUG |
| 105 void dumpSteps() const; | 105 void dumpSteps() const; |
| 106 #endif | 106 #endif |
| 107 | 107 |
| 108 #if ENABLE(ASSERT) | 108 #if DCHECK_IS_ON() |
| 109 bool isTopmostLayoutView(const LayoutObject*) const; | 109 bool isTopmostLayoutView(const LayoutObject*) const; |
| 110 #endif | 110 #endif |
| 111 | 111 |
| 112 typedef Vector<LayoutGeometryMapStep, 32> LayoutGeometryMapSteps; | 112 typedef Vector<LayoutGeometryMapStep, 32> LayoutGeometryMapSteps; |
| 113 | 113 |
| 114 size_t m_insertionPosition; | 114 size_t m_insertionPosition; |
| 115 int m_nonUniformStepsCount; | 115 int m_nonUniformStepsCount; |
| 116 int m_transformedStepsCount; | 116 int m_transformedStepsCount; |
| 117 int m_fixedStepsCount; | 117 int m_fixedStepsCount; |
| 118 LayoutGeometryMapSteps m_mapping; | 118 LayoutGeometryMapSteps m_mapping; |
| 119 LayoutSize m_accumulatedOffset; | 119 LayoutSize m_accumulatedOffset; |
| 120 MapCoordinatesFlags m_mapCoordinatesFlags; | 120 MapCoordinatesFlags m_mapCoordinatesFlags; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 #endif // LayoutGeometryMap_h | 125 #endif // LayoutGeometryMap_h |
| OLD | NEW |