| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "sky/engine/core/page/Chrome.h" | 53 #include "sky/engine/core/page/Chrome.h" |
| 54 #include "sky/engine/core/page/EventHandler.h" | 54 #include "sky/engine/core/page/EventHandler.h" |
| 55 #include "sky/engine/core/page/FocusController.h" | 55 #include "sky/engine/core/page/FocusController.h" |
| 56 #include "sky/engine/core/page/Page.h" | 56 #include "sky/engine/core/page/Page.h" |
| 57 #include "sky/engine/core/rendering/HitTestResult.h" | 57 #include "sky/engine/core/rendering/HitTestResult.h" |
| 58 #include "sky/engine/core/rendering/RenderGeometryMap.h" | 58 #include "sky/engine/core/rendering/RenderGeometryMap.h" |
| 59 #include "sky/engine/core/rendering/RenderView.h" | 59 #include "sky/engine/core/rendering/RenderView.h" |
| 60 #include "sky/engine/platform/PlatformGestureEvent.h" | 60 #include "sky/engine/platform/PlatformGestureEvent.h" |
| 61 #include "sky/engine/platform/PlatformMouseEvent.h" | 61 #include "sky/engine/platform/PlatformMouseEvent.h" |
| 62 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h" | 62 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h" |
| 63 #include "sky/engine/platform/graphics/GraphicsLayer.h" | |
| 64 #include "sky/engine/platform/scroll/ScrollAnimator.h" | 63 #include "sky/engine/platform/scroll/ScrollAnimator.h" |
| 65 #include "sky/engine/platform/scroll/Scrollbar.h" | 64 #include "sky/engine/platform/scroll/Scrollbar.h" |
| 66 #include "sky/engine/public/platform/Platform.h" | 65 #include "sky/engine/public/platform/Platform.h" |
| 67 | 66 |
| 68 namespace blink { | 67 namespace blink { |
| 69 | 68 |
| 70 RenderLayerScrollableArea::RenderLayerScrollableArea(RenderLayer& layer) | 69 RenderLayerScrollableArea::RenderLayerScrollableArea(RenderLayer& layer) |
| 71 : m_layer(layer) | 70 : m_layer(layer) |
| 72 , m_scrollsOverflow(false) | 71 , m_scrollsOverflow(false) |
| 73 , m_scrollDimensionsDirty(true) | 72 , m_scrollDimensionsDirty(true) |
| (...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 void RenderLayerScrollableArea::setTopmostScrollChild(RenderLayer* scrollChild) | 811 void RenderLayerScrollableArea::setTopmostScrollChild(RenderLayer* scrollChild) |
| 813 { | 812 { |
| 814 // We only want to track the topmost scroll child for scrollable areas with | 813 // We only want to track the topmost scroll child for scrollable areas with |
| 815 // overlay scrollbars. | 814 // overlay scrollbars. |
| 816 if (!hasOverlayScrollbars()) | 815 if (!hasOverlayScrollbars()) |
| 817 return; | 816 return; |
| 818 m_nextTopmostScrollChild = scrollChild; | 817 m_nextTopmostScrollChild = scrollChild; |
| 819 } | 818 } |
| 820 | 819 |
| 821 } // namespace blink | 820 } // namespace blink |
| OLD | NEW |