| 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 27 matching lines...) Expand all Loading... |
| 38 * version of this file under the LGPL, indicate your decision by | 38 * version of this file under the LGPL, indicate your decision by |
| 39 * deletingthe provisions above and replace them with the notice and | 39 * deletingthe provisions above and replace them with the notice and |
| 40 * other provisions required by the MPL or the GPL, as the case may be. | 40 * other provisions required by the MPL or the GPL, as the case may be. |
| 41 * If you do not delete the provisions above, a recipient may use your | 41 * If you do not delete the provisions above, a recipient may use your |
| 42 * version of this file under any of the LGPL, the MPL or the GPL. | 42 * version of this file under any of the LGPL, the MPL or the GPL. |
| 43 */ | 43 */ |
| 44 | 44 |
| 45 #ifndef PaintLayerClipper_h | 45 #ifndef PaintLayerClipper_h |
| 46 #define PaintLayerClipper_h | 46 #define PaintLayerClipper_h |
| 47 | 47 |
| 48 #include "core/CoreExport.h" |
| 48 #include "core/layout/ClipRectsCache.h" | 49 #include "core/layout/ClipRectsCache.h" |
| 49 #include "core/layout/LayoutBox.h" | 50 #include "core/layout/ScrollEnums.h" |
| 50 #include "wtf/Allocator.h" | 51 #include "wtf/Allocator.h" |
| 51 | 52 |
| 52 namespace blink { | 53 namespace blink { |
| 53 | 54 |
| 54 class PaintLayer; | 55 class PaintLayer; |
| 55 | 56 |
| 56 enum ShouldRespectOverflowClipType { | 57 enum ShouldRespectOverflowClipType { |
| 57 IgnoreOverflowClip, | 58 IgnoreOverflowClip, |
| 58 RespectOverflowClip | 59 RespectOverflowClip |
| 59 }; | 60 }; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 void getOrCalculateClipRects(const ClipRectsContext&, ClipRects&) const; | 180 void getOrCalculateClipRects(const ClipRectsContext&, ClipRects&) const; |
| 180 | 181 |
| 181 bool shouldRespectOverflowClip(const ClipRectsContext&) const; | 182 bool shouldRespectOverflowClip(const ClipRectsContext&) const; |
| 182 | 183 |
| 183 const PaintLayer& m_layer; | 184 const PaintLayer& m_layer; |
| 184 }; | 185 }; |
| 185 | 186 |
| 186 } // namespace blink | 187 } // namespace blink |
| 187 | 188 |
| 188 #endif // LayerClipper_h | 189 #endif // LayerClipper_h |
| OLD | NEW |