| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@gmail.com> | 10 * Christian Biesinger <cbiesinger@gmail.com> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #include "core/layout/compositing/PaintLayerCompositor.h" | 71 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 72 #include "core/loader/FrameLoaderClient.h" | 72 #include "core/loader/FrameLoaderClient.h" |
| 73 #include "core/page/ChromeClient.h" | 73 #include "core/page/ChromeClient.h" |
| 74 #include "core/page/FocusController.h" | 74 #include "core/page/FocusController.h" |
| 75 #include "core/page/Page.h" | 75 #include "core/page/Page.h" |
| 76 #include "core/page/scrolling/RootScrollerController.h" | 76 #include "core/page/scrolling/RootScrollerController.h" |
| 77 #include "core/page/scrolling/RootScrollerUtil.h" | 77 #include "core/page/scrolling/RootScrollerUtil.h" |
| 78 #include "core/page/scrolling/ScrollingCoordinator.h" | 78 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 79 #include "core/page/scrolling/TopDocumentRootScrollerController.h" | 79 #include "core/page/scrolling/TopDocumentRootScrollerController.h" |
| 80 #include "core/paint/PaintLayerFragment.h" | 80 #include "core/paint/PaintLayerFragment.h" |
| 81 #include "platform/PlatformMouseEvent.h" | |
| 82 #include "platform/graphics/CompositorMutableProperties.h" | 81 #include "platform/graphics/CompositorMutableProperties.h" |
| 83 #include "platform/graphics/GraphicsLayer.h" | 82 #include "platform/graphics/GraphicsLayer.h" |
| 84 #include "platform/graphics/paint/DrawingRecorder.h" | 83 #include "platform/graphics/paint/DrawingRecorder.h" |
| 85 #include "platform/scroll/ScrollAnimatorBase.h" | 84 #include "platform/scroll/ScrollAnimatorBase.h" |
| 86 #include "platform/scroll/ScrollbarTheme.h" | 85 #include "platform/scroll/ScrollbarTheme.h" |
| 87 #include "public/platform/Platform.h" | 86 #include "public/platform/Platform.h" |
| 88 | 87 |
| 89 namespace blink { | 88 namespace blink { |
| 90 | 89 |
| 91 static LayoutRect localToAbsolute(LayoutBox& offset, LayoutRect rect) { | 90 static LayoutRect localToAbsolute(LayoutBox& offset, LayoutRect rect) { |
| (...skipping 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2117 | 2116 |
| 2118 void PaintLayerScrollableArea::DelayScrollOffsetClampScope:: | 2117 void PaintLayerScrollableArea::DelayScrollOffsetClampScope:: |
| 2119 clampScrollableAreas() { | 2118 clampScrollableAreas() { |
| 2120 for (auto& scrollableArea : *s_needsClamp) | 2119 for (auto& scrollableArea : *s_needsClamp) |
| 2121 scrollableArea->clampScrollOffsetAfterOverflowChange(); | 2120 scrollableArea->clampScrollOffsetAfterOverflowChange(); |
| 2122 delete s_needsClamp; | 2121 delete s_needsClamp; |
| 2123 s_needsClamp = nullptr; | 2122 s_needsClamp = nullptr; |
| 2124 } | 2123 } |
| 2125 | 2124 |
| 2126 } // namespace blink | 2125 } // namespace blink |
| OLD | NEW |