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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ClipRect applyOverflowClipToBackgroundRectWithGeometryMapper( |
234 const ClipRectsContext&, | 234 const ClipRectsContext&, |
235 const ClipRect&) const; | 235 const ClipRect&) const; |
236 | 236 |
| 237 bool isClippingRoot(const ClipRectsContext&) const; |
| 238 |
237 const PaintLayer& m_layer; | 239 const PaintLayer& m_layer; |
238 std::unique_ptr<GeometryMapper> m_geometryMapper; | 240 std::unique_ptr<GeometryMapper> m_geometryMapper; |
239 | 241 |
240 friend class PaintLayerClipperTest; | 242 friend class PaintLayerClipperTest; |
241 }; | 243 }; |
242 | 244 |
243 } // namespace blink | 245 } // namespace blink |
244 | 246 |
245 #endif // LayerClipper_h | 247 #endif // LayerClipper_h |
OLD | NEW |