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 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 26 matching lines...) Expand all Loading... |
37 * version of this file under the LGPL, indicate your decision by | 37 * version of this file under the LGPL, indicate your decision by |
38 * deletingthe provisions above and replace them with the notice and | 38 * deletingthe provisions above and replace them with the notice and |
39 * other provisions required by the MPL or the GPL, as the case may be. | 39 * other provisions required by the MPL or the GPL, as the case may be. |
40 * If you do not delete the provisions above, a recipient may use your | 40 * If you do not delete the provisions above, a recipient may use your |
41 * version of this file under any of the LGPL, the MPL or the GPL. | 41 * version of this file under any of the LGPL, the MPL or the GPL. |
42 */ | 42 */ |
43 | 43 |
44 #ifndef PaintLayerScrollableArea_h | 44 #ifndef PaintLayerScrollableArea_h |
45 #define PaintLayerScrollableArea_h | 45 #define PaintLayerScrollableArea_h |
46 | 46 |
| 47 #include <memory> |
47 #include "core/CoreExport.h" | 48 #include "core/CoreExport.h" |
48 #include "core/layout/ScrollAnchor.h" | 49 #include "core/layout/ScrollAnchor.h" |
49 #include "core/page/scrolling/StickyPositionScrollingConstraints.h" | 50 #include "core/page/scrolling/StickyPositionScrollingConstraints.h" |
50 #include "core/paint/PaintInvalidationCapableScrollableArea.h" | 51 #include "core/paint/PaintInvalidationCapableScrollableArea.h" |
51 #include "core/paint/PaintLayerFragment.h" | 52 #include "core/paint/PaintLayerFragment.h" |
52 #include "core/paint/ScrollbarManager.h" | 53 #include "core/paint/ScrollbarManager.h" |
53 #include "platform/heap/Handle.h" | 54 #include "platform/heap/Handle.h" |
54 #include "wtf/PtrUtil.h" | 55 #include "wtf/PtrUtil.h" |
55 #include <memory> | |
56 | 56 |
57 namespace blink { | 57 namespace blink { |
58 | 58 |
59 enum ResizerHitTestType { ResizerForPointer, ResizerForTouch }; | 59 enum ResizerHitTestType { ResizerForPointer, ResizerForTouch }; |
60 | 60 |
61 class ComputedStyle; | 61 class ComputedStyle; |
62 class HitTestResult; | 62 class HitTestResult; |
63 class LayoutBox; | 63 class LayoutBox; |
64 class LayoutScrollbarPart; | 64 class LayoutScrollbarPart; |
65 class PaintLayer; | 65 class PaintLayer; |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 | 598 |
599 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 599 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
600 ScrollableArea, | 600 ScrollableArea, |
601 scrollableArea, | 601 scrollableArea, |
602 scrollableArea->isPaintLayerScrollableArea(), | 602 scrollableArea->isPaintLayerScrollableArea(), |
603 scrollableArea.isPaintLayerScrollableArea()); | 603 scrollableArea.isPaintLayerScrollableArea()); |
604 | 604 |
605 } // namespace blink | 605 } // namespace blink |
606 | 606 |
607 #endif // LayerScrollableArea_h | 607 #endif // LayerScrollableArea_h |
OLD | NEW |