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@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "core/dom/shadow/ShadowRoot.h" | 48 #include "core/dom/shadow/ShadowRoot.h" |
49 #include "core/editing/FrameSelection.h" | 49 #include "core/editing/FrameSelection.h" |
50 #include "core/html/HTMLFrameOwnerElement.h" | 50 #include "core/html/HTMLFrameOwnerElement.h" |
51 #include "core/inspector/InspectorInstrumentation.h" | 51 #include "core/inspector/InspectorInstrumentation.h" |
52 #include "core/page/EventHandler.h" | 52 #include "core/page/EventHandler.h" |
53 #include "core/page/FocusController.h" | 53 #include "core/page/FocusController.h" |
54 #include "core/frame/Frame.h" | 54 #include "core/frame/Frame.h" |
55 #include "core/frame/FrameView.h" | 55 #include "core/frame/FrameView.h" |
56 #include "core/page/Page.h" | 56 #include "core/page/Page.h" |
57 #include "core/page/scrolling/ScrollingCoordinator.h" | 57 #include "core/page/scrolling/ScrollingCoordinator.h" |
58 #include "core/platform/ScrollAnimator.h" | |
59 #include "core/platform/ScrollbarTheme.h" | |
60 #include "core/platform/graphics/GraphicsContextStateSaver.h" | |
61 #include "core/platform/graphics/GraphicsLayer.h" | |
62 #include "core/rendering/CompositedLayerMapping.h" | 58 #include "core/rendering/CompositedLayerMapping.h" |
63 #include "core/rendering/RenderGeometryMap.h" | 59 #include "core/rendering/RenderGeometryMap.h" |
64 #include "core/rendering/RenderLayerCompositor.h" | 60 #include "core/rendering/RenderLayerCompositor.h" |
65 #include "core/rendering/RenderScrollbar.h" | 61 #include "core/rendering/RenderScrollbar.h" |
66 #include "core/rendering/RenderScrollbarPart.h" | 62 #include "core/rendering/RenderScrollbarPart.h" |
67 #include "core/rendering/RenderView.h" | 63 #include "core/rendering/RenderView.h" |
68 #include "platform/PlatformGestureEvent.h" | 64 #include "platform/PlatformGestureEvent.h" |
69 #include "platform/PlatformMouseEvent.h" | 65 #include "platform/PlatformMouseEvent.h" |
| 66 #include "platform/graphics/GraphicsContextStateSaver.h" |
| 67 #include "platform/graphics/GraphicsLayer.h" |
| 68 #include "platform/scroll/ScrollAnimator.h" |
| 69 #include "platform/scroll/ScrollbarTheme.h" |
70 #include "public/platform/Platform.h" | 70 #include "public/platform/Platform.h" |
71 | 71 |
72 namespace WebCore { | 72 namespace WebCore { |
73 | 73 |
74 const int ResizerControlExpandRatioForTouch = 2; | 74 const int ResizerControlExpandRatioForTouch = 2; |
75 | 75 |
76 RenderLayerScrollableArea::RenderLayerScrollableArea(RenderBox* box) | 76 RenderLayerScrollableArea::RenderLayerScrollableArea(RenderBox* box) |
77 : m_box(box) | 77 : m_box(box) |
78 , m_inResizeMode(false) | 78 , m_inResizeMode(false) |
79 , m_scrollDimensionsDirty(true) | 79 , m_scrollDimensionsDirty(true) |
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1466 void RenderLayerScrollableArea::setForceNeedsCompositedScrolling(ForceNeedsCompo
sitedScrollingMode mode) | 1466 void RenderLayerScrollableArea::setForceNeedsCompositedScrolling(ForceNeedsCompo
sitedScrollingMode mode) |
1467 { | 1467 { |
1468 if (m_forceNeedsCompositedScrolling == mode) | 1468 if (m_forceNeedsCompositedScrolling == mode) |
1469 return; | 1469 return; |
1470 | 1470 |
1471 m_forceNeedsCompositedScrolling = mode; | 1471 m_forceNeedsCompositedScrolling = mode; |
1472 layer()->didUpdateNeedsCompositedScrolling(); | 1472 layer()->didUpdateNeedsCompositedScrolling(); |
1473 } | 1473 } |
1474 | 1474 |
1475 } // Namespace WebCore | 1475 } // Namespace WebCore |
OLD | NEW |