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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2310223002: Disable scroll anchoring is an element within the scroll changes its in-flow state (Closed)
Patch Set: s\do while\while Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 void updateImage(StyleImage*, StyleImage*); 1581 void updateImage(StyleImage*, StyleImage*);
1582 1582
1583 void scheduleRelayout(); 1583 void scheduleRelayout();
1584 1584
1585 void updateShapeImage(const ShapeValue*, const ShapeValue*); 1585 void updateShapeImage(const ShapeValue*, const ShapeValue*);
1586 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers ); 1586 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers );
1587 void updateCursorImages(const CursorList* oldCursors, const CursorList* newC ursors); 1587 void updateCursorImages(const CursorList* oldCursors, const CursorList* newC ursors);
1588 1588
1589 void setNeedsOverflowRecalcAfterStyleChange(); 1589 void setNeedsOverflowRecalcAfterStyleChange();
1590 1590
1591 // Walk up the parent chain and find the first scrolling block to disable
1592 // scroll anchoring on.
1593 void setScrollAnchorDisablingStyleChangedOnAncestor();
1594
1591 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox 1595 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox
1592 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700. 1596 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700.
1593 inline void markAncestorsForOverflowRecalcIfNeeded(); 1597 inline void markAncestorsForOverflowRecalcIfNeeded();
1594 1598
1595 inline void markAncestorsForPaintInvalidation(); 1599 inline void markAncestorsForPaintInvalidation();
1596 1600
1597 inline void invalidateContainerPreferredLogicalWidths(); 1601 inline void invalidateContainerPreferredLogicalWidths();
1598 1602
1599 void invalidatePaintIncludingNonSelfPaintingLayerDescendantsInternal(const L ayoutBoxModelObject& paintInvalidationContainer); 1603 void invalidatePaintIncludingNonSelfPaintingLayerDescendantsInternal(const L ayoutBoxModelObject& paintInvalidationContainer);
1600 1604
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 void showTree(const blink::LayoutObject*); 2138 void showTree(const blink::LayoutObject*);
2135 void showLineTree(const blink::LayoutObject*); 2139 void showLineTree(const blink::LayoutObject*);
2136 void showLayoutTree(const blink::LayoutObject* object1); 2140 void showLayoutTree(const blink::LayoutObject* object1);
2137 // We don't make object2 an optional parameter so that showLayoutTree 2141 // We don't make object2 an optional parameter so that showLayoutTree
2138 // can be called from gdb easily. 2142 // can be called from gdb easily.
2139 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2143 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2140 2144
2141 #endif 2145 #endif
2142 2146
2143 #endif // LayoutObject_h 2147 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698