Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2727913005: Rename FrameView fields and methods *Widget* to ...FrameViewBase... (Closed)
Patch Set: Rename FrameView fields and methods *Widget* to ...FrameViewBase... Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 398
399 // Update the positions of our child layers (if needed as only fixed layers 399 // Update the positions of our child layers (if needed as only fixed layers
400 // should be impacted by a scroll). We don't update compositing layers, 400 // should be impacted by a scroll). We don't update compositing layers,
401 // because we need to do a deep update from the compositing ancestor. 401 // because we need to do a deep update from the compositing ancestor.
402 if (!frameView->isInPerformLayout()) { 402 if (!frameView->isInPerformLayout()) {
403 // If we're in the middle of layout, we'll just update layers once layout 403 // If we're in the middle of layout, we'll just update layers once layout
404 // has finished. 404 // has finished.
405 layer()->updateLayerPositionsAfterOverflowScroll(); 405 layer()->updateLayerPositionsAfterOverflowScroll();
406 // Update regions, scrolling may change the clip of a particular region. 406 // Update regions, scrolling may change the clip of a particular region.
407 frameView->updateDocumentAnnotatedRegions(); 407 frameView->updateDocumentAnnotatedRegions();
408 frameView->setNeedsUpdateWidgetGeometries(); 408 frameView->setNeedsUpdateGeometries();
409 updateCompositingLayersAfterScroll(); 409 updateCompositingLayersAfterScroll();
410 } 410 }
411 411
412 const LayoutBoxModelObject& paintInvalidationContainer = 412 const LayoutBoxModelObject& paintInvalidationContainer =
413 box().containerForPaintInvalidation(); 413 box().containerForPaintInvalidation();
414 414
415 FloatQuad quadForFakeMouseMoveEvent = FloatQuad( 415 FloatQuad quadForFakeMouseMoveEvent = FloatQuad(
416 FloatRect(layer()->layoutObject().visualRectIncludingCompositedScrolling( 416 FloatRect(layer()->layoutObject().visualRectIncludingCompositedScrolling(
417 paintInvalidationContainer))); 417 paintInvalidationContainer)));
418 418
(...skipping 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 2132
2133 void PaintLayerScrollableArea::DelayScrollOffsetClampScope:: 2133 void PaintLayerScrollableArea::DelayScrollOffsetClampScope::
2134 clampScrollableAreas() { 2134 clampScrollableAreas() {
2135 for (auto& scrollableArea : *s_needsClamp) 2135 for (auto& scrollableArea : *s_needsClamp)
2136 scrollableArea->clampScrollOffsetAfterOverflowChange(); 2136 scrollableArea->clampScrollOffsetAfterOverflowChange();
2137 delete s_needsClamp; 2137 delete s_needsClamp;
2138 s_needsClamp = nullptr; 2138 s_needsClamp = nullptr;
2139 } 2139 }
2140 2140
2141 } // namespace blink 2141 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698