| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 GeometryMapperClipCache_h | 5 #ifndef GeometryMapperClipCache_h |
| 6 #define GeometryMapperClipCache_h | 6 #define GeometryMapperClipCache_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/graphics/paint/FloatClipRect.h" | 9 #include "platform/graphics/paint/FloatClipRect.h" |
| 10 #include "wtf/Vector.h" | 10 #include "platform/wtf/Vector.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class ClipPaintPropertyNode; | 14 class ClipPaintPropertyNode; |
| 15 class FloatClipRect; | 15 class FloatClipRect; |
| 16 class TransformPaintPropertyNode; | 16 class TransformPaintPropertyNode; |
| 17 | 17 |
| 18 // A GeometryMapperClipCache hangs off a ClipPaintPropertyNode. It stores | 18 // A GeometryMapperClipCache hangs off a ClipPaintPropertyNode. It stores |
| 19 // cached "clip visual rects" (See GeometryMapper.h) from that node in | 19 // cached "clip visual rects" (See GeometryMapper.h) from that node in |
| 20 // ancestor spaces. | 20 // ancestor spaces. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 Vector<ClipCacheEntry> m_clipCache; | 62 Vector<ClipCacheEntry> m_clipCache; |
| 63 unsigned m_cacheGeneration; | 63 unsigned m_cacheGeneration; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(GeometryMapperClipCache); | 65 DISALLOW_COPY_AND_ASSIGN(GeometryMapperClipCache); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace blink | 68 } // namespace blink |
| 69 | 69 |
| 70 #endif // GeometryMapperClipCache_h | 70 #endif // GeometryMapperClipCache_h |
| OLD | NEW |