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 27 matching lines...) Expand all Loading... |
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 "core/CoreExport.h" | 47 #include "core/CoreExport.h" |
48 #include "core/layout/LayoutBox.h" | |
49 #include "core/layout/ScrollAnchor.h" | 48 #include "core/layout/ScrollAnchor.h" |
| 49 #include "core/layout/ScrollEnums.h" |
50 #include "core/paint/PaintInvalidationCapableScrollableArea.h" | 50 #include "core/paint/PaintInvalidationCapableScrollableArea.h" |
51 #include "core/paint/PaintLayerFragment.h" | 51 #include "core/paint/PaintLayerFragment.h" |
52 #include "platform/heap/Handle.h" | 52 #include "platform/heap/Handle.h" |
53 | 53 |
54 namespace blink { | 54 namespace blink { |
55 | 55 |
56 enum ResizerHitTestType { | 56 enum ResizerHitTestType { |
57 ResizerForPointer, | 57 ResizerForPointer, |
58 ResizerForTouch | 58 ResizerForTouch |
59 }; | 59 }; |
60 | 60 |
| 61 class ComputedStyle; |
| 62 class HitTestResult; |
| 63 class LayoutBox; |
| 64 class LayoutScrollbarPart; |
| 65 class PaintLayer; |
61 class PlatformEvent; | 66 class PlatformEvent; |
62 class LayoutBox; | 67 class StickyPositionScrollingConstraints; |
63 class PaintLayer; | 68 class SubtreeLayoutScope; |
64 class LayoutScrollbarPart; | |
65 | 69 |
66 typedef WTF::HashMap<PaintLayer*, StickyPositionScrollingConstraints> StickyCons
traintsMap; | 70 typedef WTF::HashMap<PaintLayer*, StickyPositionScrollingConstraints> StickyCons
traintsMap; |
67 | 71 |
68 struct PaintLayerScrollableAreaRareData { | 72 struct PaintLayerScrollableAreaRareData { |
69 WTF_MAKE_NONCOPYABLE(PaintLayerScrollableAreaRareData); | 73 WTF_MAKE_NONCOPYABLE(PaintLayerScrollableAreaRareData); |
70 USING_FAST_MALLOC(PaintLayerScrollableAreaRareData); | 74 USING_FAST_MALLOC(PaintLayerScrollableAreaRareData); |
71 public: | 75 public: |
72 PaintLayerScrollableAreaRareData(); | 76 PaintLayerScrollableAreaRareData(); |
73 | 77 |
74 StickyConstraintsMap m_stickyConstraintsMap; | 78 StickyConstraintsMap m_stickyConstraintsMap; |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 #endif | 459 #endif |
456 }; | 460 }; |
457 | 461 |
458 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, | 462 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, |
459 scrollableArea->isPaintLayerScrollableArea(), | 463 scrollableArea->isPaintLayerScrollableArea(), |
460 scrollableArea.isPaintLayerScrollableArea()); | 464 scrollableArea.isPaintLayerScrollableArea()); |
461 | 465 |
462 } // namespace blink | 466 } // namespace blink |
463 | 467 |
464 #endif // LayerScrollableArea_h | 468 #endif // LayerScrollableArea_h |
OLD | NEW |