| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 LayoutRect&) const; | 223 LayoutRect&) const; |
| 224 // Same as calculateRects, but using GeometryMapper. | 224 // Same as calculateRects, but using GeometryMapper. |
| 225 void calculateRectsWithGeometryMapper( | 225 void calculateRectsWithGeometryMapper( |
| 226 const ClipRectsContext&, | 226 const ClipRectsContext&, |
| 227 const LayoutRect& paintDirtyRect, | 227 const LayoutRect& paintDirtyRect, |
| 228 LayoutRect& layerBounds, | 228 LayoutRect& layerBounds, |
| 229 ClipRect& backgroundRect, | 229 ClipRect& backgroundRect, |
| 230 ClipRect& foregroundRect, | 230 ClipRect& foregroundRect, |
| 231 const LayoutPoint* offsetFromRoot = 0) const; | 231 const LayoutPoint* offsetFromRoot = 0) const; |
| 232 | 232 |
| 233 ClipRect applyOverflowClipToBackgroundRectWithGeometryMapper( | 233 void applyOverflowClipToBackgroundRectWithGeometryMapper( |
| 234 const ClipRectsContext&, | 234 const ClipRectsContext&, |
| 235 const ClipRect&) const; | 235 ClipRect&) const; |
| 236 | 236 |
| 237 const PaintLayer& m_layer; | 237 const PaintLayer& m_layer; |
| 238 std::unique_ptr<GeometryMapper> m_geometryMapper; | 238 std::unique_ptr<GeometryMapper> m_geometryMapper; |
| 239 | 239 |
| 240 friend class PaintLayerClipperTest; | 240 friend class PaintLayerClipperTest; |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace blink | 243 } // namespace blink |
| 244 | 244 |
| 245 #endif // LayerClipper_h | 245 #endif // LayerClipper_h |
| OLD | NEW |