| 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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 layer()->updateLayerPositionsAfterOverflowScroll(); | 403 layer()->updateLayerPositionsAfterOverflowScroll(); |
| 404 // Update regions, scrolling may change the clip of a particular region. | 404 // Update regions, scrolling may change the clip of a particular region. |
| 405 frameView->updateDocumentAnnotatedRegions(); | 405 frameView->updateDocumentAnnotatedRegions(); |
| 406 frameView->setNeedsUpdateWidgetGeometries(); | 406 frameView->setNeedsUpdateWidgetGeometries(); |
| 407 updateCompositingLayersAfterScroll(); | 407 updateCompositingLayersAfterScroll(); |
| 408 } | 408 } |
| 409 | 409 |
| 410 const LayoutBoxModelObject& paintInvalidationContainer = | 410 const LayoutBoxModelObject& paintInvalidationContainer = |
| 411 box().containerForPaintInvalidation(); | 411 box().containerForPaintInvalidation(); |
| 412 // The caret rect needs to be invalidated after scrolling | 412 // The caret rect needs to be invalidated after scrolling |
| 413 frame->selection().setCaretRectNeedsUpdate(); | 413 frame->selection().setCaretMayNeedPaintInvalidation(); |
| 414 | 414 |
| 415 FloatQuad quadForFakeMouseMoveEvent = FloatQuad(FloatRect( | 415 FloatQuad quadForFakeMouseMoveEvent = FloatQuad(FloatRect( |
| 416 layer()->layoutObject()->previousVisualRectIncludingCompositedScrolling( | 416 layer()->layoutObject()->previousVisualRectIncludingCompositedScrolling( |
| 417 paintInvalidationContainer))); | 417 paintInvalidationContainer))); |
| 418 | 418 |
| 419 quadForFakeMouseMoveEvent = | 419 quadForFakeMouseMoveEvent = |
| 420 paintInvalidationContainer.localToAbsoluteQuad(quadForFakeMouseMoveEvent); | 420 paintInvalidationContainer.localToAbsoluteQuad(quadForFakeMouseMoveEvent); |
| 421 frame->eventHandler().dispatchFakeMouseMoveEventSoonInQuad( | 421 frame->eventHandler().dispatchFakeMouseMoveEventSoonInQuad( |
| 422 quadForFakeMouseMoveEvent); | 422 quadForFakeMouseMoveEvent); |
| 423 | 423 |
| (...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2120 | 2120 |
| 2121 void PaintLayerScrollableArea::DelayScrollOffsetClampScope:: | 2121 void PaintLayerScrollableArea::DelayScrollOffsetClampScope:: |
| 2122 clampScrollableAreas() { | 2122 clampScrollableAreas() { |
| 2123 for (auto& scrollableArea : *s_needsClamp) | 2123 for (auto& scrollableArea : *s_needsClamp) |
| 2124 scrollableArea->clampScrollOffsetAfterOverflowChange(); | 2124 scrollableArea->clampScrollOffsetAfterOverflowChange(); |
| 2125 delete s_needsClamp; | 2125 delete s_needsClamp; |
| 2126 s_needsClamp = nullptr; | 2126 s_needsClamp = nullptr; |
| 2127 } | 2127 } |
| 2128 | 2128 |
| 2129 } // namespace blink | 2129 } // namespace blink |
| OLD | NEW |