OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 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@gmail.com> | 9 * Christian Biesinger <cbiesinger@gmail.com> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #include "platform/PlatformMouseEvent.h" | 73 #include "platform/PlatformMouseEvent.h" |
74 #include "platform/graphics/CompositorMutableProperties.h" | 74 #include "platform/graphics/CompositorMutableProperties.h" |
75 #include "platform/graphics/GraphicsLayer.h" | 75 #include "platform/graphics/GraphicsLayer.h" |
76 #include "platform/graphics/paint/DrawingRecorder.h" | 76 #include "platform/graphics/paint/DrawingRecorder.h" |
77 #include "platform/scroll/ScrollAnimatorBase.h" | 77 #include "platform/scroll/ScrollAnimatorBase.h" |
78 #include "platform/scroll/ScrollbarTheme.h" | 78 #include "platform/scroll/ScrollbarTheme.h" |
79 #include "public/platform/Platform.h" | 79 #include "public/platform/Platform.h" |
80 | 80 |
81 namespace blink { | 81 namespace blink { |
82 | 82 |
| 83 PaintLayerScrollableAreaRareData::PaintLayerScrollableAreaRareData() |
| 84 { |
| 85 } |
| 86 |
83 const int ResizerControlExpandRatioForTouch = 2; | 87 const int ResizerControlExpandRatioForTouch = 2; |
84 | 88 |
85 PaintLayerScrollableArea::PaintLayerScrollableArea(PaintLayer& layer) | 89 PaintLayerScrollableArea::PaintLayerScrollableArea(PaintLayer& layer) |
86 : m_layer(layer) | 90 : m_layer(layer) |
87 , m_inResizeMode(false) | 91 , m_inResizeMode(false) |
88 , m_scrollsOverflow(false) | 92 , m_scrollsOverflow(false) |
89 , m_inOverflowRelayout(false) | 93 , m_inOverflowRelayout(false) |
90 , m_nextTopmostScrollChild(0) | 94 , m_nextTopmostScrollChild(0) |
91 , m_topmostScrollChild(0) | 95 , m_topmostScrollChild(0) |
92 , m_needsCompositedScrolling(false) | 96 , m_needsCompositedScrolling(false) |
(...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1608 } | 1612 } |
1609 | 1613 |
1610 DEFINE_TRACE(PaintLayerScrollableArea::ScrollbarManager) | 1614 DEFINE_TRACE(PaintLayerScrollableArea::ScrollbarManager) |
1611 { | 1615 { |
1612 visitor->trace(m_scrollableArea); | 1616 visitor->trace(m_scrollableArea); |
1613 visitor->trace(m_hBar); | 1617 visitor->trace(m_hBar); |
1614 visitor->trace(m_vBar); | 1618 visitor->trace(m_vBar); |
1615 } | 1619 } |
1616 | 1620 |
1617 } // namespace blink | 1621 } // namespace blink |
OLD | NEW |