OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
4 * | 4 * |
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
6 * | 6 * |
7 * Other contributors: | 7 * Other contributors: |
8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 LayoutRect&) const; | 226 LayoutRect&) const; |
227 // Same as calculateRects, but using GeometryMapper. | 227 // Same as calculateRects, but using GeometryMapper. |
228 ALWAYS_INLINE void calculateRectsWithGeometryMapper( | 228 ALWAYS_INLINE void calculateRectsWithGeometryMapper( |
229 const ClipRectsContext&, | 229 const ClipRectsContext&, |
230 const LayoutRect& paintDirtyRect, | 230 const LayoutRect& paintDirtyRect, |
231 LayoutRect& layerBounds, | 231 LayoutRect& layerBounds, |
232 ClipRect& backgroundRect, | 232 ClipRect& backgroundRect, |
233 ClipRect& foregroundRect, | 233 ClipRect& foregroundRect, |
234 const LayoutPoint* offsetFromRoot = 0) const; | 234 const LayoutPoint* offsetFromRoot = 0) const; |
235 | 235 |
236 void ALWAYS_INLINE | 236 // Applies a clip to the bounds of the visual overflow |
237 applyOverflowClipToBackgroundRectWithGeometryMapper(const ClipRectsContext&, | 237 // of m_layer, in the space of the rootLayer of the context. |
238 ClipRect&) const; | 238 void ALWAYS_INLINE applyVisualOverflowClipToBackgroundRectWithGeometryMapper( |
| 239 const ClipRectsContext&, |
| 240 ClipRect&) const; |
239 | 241 |
240 const PaintLayer& m_layer; | 242 const PaintLayer& m_layer; |
241 GeometryMapper* m_geometryMapper; | 243 GeometryMapper* m_geometryMapper; |
242 | 244 |
243 friend class PaintLayerClipperTest; | 245 friend class PaintLayerClipperTest; |
244 }; | 246 }; |
245 | 247 |
246 } // namespace blink | 248 } // namespace blink |
247 | 249 |
248 #endif // LayerClipper_h | 250 #endif // LayerClipper_h |
OLD | NEW |