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

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

Issue 1950573003: Improve handling of PaintInvalidationLayer (renamed to PaintInvalidationSubtree) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@LocationChange
Patch Set: Created 4 years, 7 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 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 957
958 virtual bool shouldComputeSizeAsReplaced() const { return isAtomicInlineLeve l() && !isInlineBlockOrInlineTable(); } 958 virtual bool shouldComputeSizeAsReplaced() const { return isAtomicInlineLeve l() && !isInlineBlockOrInlineTable(); }
959 959
960 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); 960 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild);
961 961
962 virtual bool hitTestOverflowControl(HitTestResult&, const HitTestLocation&, const LayoutPoint&) { return false; } 962 virtual bool hitTestOverflowControl(HitTestResult&, const HitTestLocation&, const LayoutPoint&) { return false; }
963 virtual bool hitTestChildren(HitTestResult&, const HitTestLocation& location InContainer, const LayoutPoint& accumulatedOffset, HitTestAction); 963 virtual bool hitTestChildren(HitTestResult&, const HitTestLocation& location InContainer, const LayoutPoint& accumulatedOffset, HitTestAction);
964 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con st override; 964 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con st override;
965 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override; 965 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override;
966 966
967 PaintInvalidationReason getPaintInvalidationReason(const LayoutBoxModelObjec t& paintInvalidationContainer, 967 PaintInvalidationReason getPaintInvalidationReason(const PaintInvalidationSt ate&,
968 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer, 968 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer,
969 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva lidationContainer) const override; 969 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva lidationContainer) const override;
970 void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintInvalidat ionContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds, const La youtPoint& positionFromPaintInvalidationContainer) override; 970 void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintInvalidat ionContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds, const La youtPoint& positionFromPaintInvalidationContainer) override;
971 971
972 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState &) override; 972 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState &) override;
973 void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState& childPa intInvalidationState) override; 973 void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState& childPa intInvalidationState) override;
974 974
975 bool hasStretchedLogicalWidth() const; 975 bool hasStretchedLogicalWidth() const;
976 976
977 bool hasNonCompositedScrollbars() const final; 977 bool hasNonCompositedScrollbars() const final;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 || breakValue == BreakLeft 1180 || breakValue == BreakLeft
1181 || breakValue == BreakPage 1181 || breakValue == BreakPage
1182 || breakValue == BreakRecto 1182 || breakValue == BreakRecto
1183 || breakValue == BreakRight 1183 || breakValue == BreakRight
1184 || breakValue == BreakVerso; 1184 || breakValue == BreakVerso;
1185 } 1185 }
1186 1186
1187 } // namespace blink 1187 } // namespace blink
1188 1188
1189 #endif // LayoutBox_h 1189 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698