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

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

Issue 2084723002: Remove LayoutView::doingFullPaintInvalidation() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More NeedsRebaselines Created 4 years, 5 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 void clearPercentHeightDescendants(); 953 void clearPercentHeightDescendants();
954 // For snap areas, returns the snap container that owns us. 954 // For snap areas, returns the snap container that owns us.
955 LayoutBox* snapContainer() const; 955 LayoutBox* snapContainer() const;
956 void setSnapContainer(LayoutBox*); 956 void setSnapContainer(LayoutBox*);
957 // For snap containers, returns all associated snap areas. 957 // For snap containers, returns all associated snap areas.
958 SnapAreaSet* snapAreas() const; 958 SnapAreaSet* snapAreas() const;
959 void clearSnapAreas(); 959 void clearSnapAreas();
960 960
961 bool hitTestClippedOutByRoundedBorder(const HitTestLocation& locationInConta iner, const LayoutPoint& borderBoxLocation) const; 961 bool hitTestClippedOutByRoundedBorder(const HitTestLocation& locationInConta iner, const LayoutPoint& borderBoxLocation) const;
962 962
963 bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) const;
964 bool mustInvalidateFillLayersPaintOnHeightChange(const FillLayer&) const;
965
963 protected: 966 protected:
964 void willBeDestroyed() override; 967 void willBeDestroyed() override;
965 968
966 void insertedIntoTree() override; 969 void insertedIntoTree() override;
967 void willBeRemovedFromTree() override; 970 void willBeRemovedFromTree() override;
968 971
969 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid e; 972 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid e;
970 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ; 973 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ;
971 void updateFromStyle() override; 974 void updateFromStyle() override;
972 975
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 LayoutUnit containingBlockLogicalHeightForPositioned(const LayoutBoxModelObj ect* containingBlock, bool checkForPerpendicularWritingMode = true) const; 1010 LayoutUnit containingBlockLogicalHeightForPositioned(const LayoutBoxModelObj ect* containingBlock, bool checkForPerpendicularWritingMode = true) const;
1008 1011
1009 static void computeBlockStaticDistance(Length& logicalTop, Length& logicalBo ttom, const LayoutBox* child, const LayoutBoxModelObject* containerBlock); 1012 static void computeBlockStaticDistance(Length& logicalTop, Length& logicalBo ttom, const LayoutBox* child, const LayoutBoxModelObject* containerBlock);
1010 static void computeInlineStaticDistance(Length& logicalLeft, Length& logical Right, const LayoutBox* child, const LayoutBoxModelObject* containerBlock, Layou tUnit containerLogicalWidth); 1013 static void computeInlineStaticDistance(Length& logicalLeft, Length& logical Right, const LayoutBox* child, const LayoutBoxModelObject* containerBlock, Layou tUnit containerLogicalWidth);
1011 static void computeLogicalLeftPositionedOffset(LayoutUnit& logicalLeftPos, c onst LayoutBox* child, LayoutUnit logicalWidthValue, const LayoutBoxModelObject* containerBlock, LayoutUnit containerLogicalWidth); 1014 static void computeLogicalLeftPositionedOffset(LayoutUnit& logicalLeftPos, c onst LayoutBox* child, LayoutUnit logicalWidthValue, const LayoutBoxModelObject* containerBlock, LayoutUnit containerLogicalWidth);
1012 static void computeLogicalTopPositionedOffset(LayoutUnit& logicalTopPos, con st LayoutBox* child, LayoutUnit logicalHeightValue, const LayoutBoxModelObject* containerBlock, LayoutUnit containerLogicalHeight); 1015 static void computeLogicalTopPositionedOffset(LayoutUnit& logicalTopPos, con st LayoutBox* child, LayoutUnit logicalHeightValue, const LayoutBoxModelObject* containerBlock, LayoutUnit containerLogicalHeight);
1013 1016
1014 private: 1017 private:
1015 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; 1018 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const;
1016 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; 1019 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const;
1017 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con st;
1018 1020
1019 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject& paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con st LayoutRect& newBounds); 1021 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject& paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con st LayoutRect& newBounds);
1020 1022
1021 void updateShapeOutsideInfoAfterStyleChange(const ComputedStyle&, const Comp utedStyle* oldStyle); 1023 void updateShapeOutsideInfoAfterStyleChange(const ComputedStyle&, const Comp utedStyle* oldStyle);
1022 void updateGridPositionAfterStyleChange(const ComputedStyle*); 1024 void updateGridPositionAfterStyleChange(const ComputedStyle*);
1023 void updateScrollSnapMappingAfterStyleChange(const ComputedStyle*, const Com putedStyle* oldStyle); 1025 void updateScrollSnapMappingAfterStyleChange(const ComputedStyle*, const Com putedStyle* oldStyle);
1024 void clearScrollSnapMapping(); 1026 void clearScrollSnapMapping();
1025 void addScrollSnapMapping(); 1027 void addScrollSnapMapping();
1026 1028
1027 bool autoWidthShouldFitContent() const; 1029 bool autoWidthShouldFitContent() const;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1228 || breakValue == BreakLeft 1230 || breakValue == BreakLeft
1229 || breakValue == BreakPage 1231 || breakValue == BreakPage
1230 || breakValue == BreakRecto 1232 || breakValue == BreakRecto
1231 || breakValue == BreakRight 1233 || breakValue == BreakRight
1232 || breakValue == BreakVerso; 1234 || breakValue == BreakVerso;
1233 } 1235 }
1234 1236
1235 } // namespace blink 1237 } // namespace blink
1236 1238
1237 #endif // LayoutBox_h 1239 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698