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

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

Issue 2360913004: Support for multiple block fragments in getClientRects(). (Closed)
Patch Set: fast/overflow/overflow-height-float-not-removed-crash3.html crashed because saturated LayoutUnits caused zero height Created 4 years, 2 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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Always create a Layer for the LayoutFlowThread so that we 75 // Always create a Layer for the LayoutFlowThread so that we
76 // can easily avoid drawing the children directly. 76 // can easily avoid drawing the children directly.
77 PaintLayerType layerTypeRequired() const final { return NormalPaintLayer; } 77 PaintLayerType layerTypeRequired() const final { return NormalPaintLayer; }
78 78
79 virtual void flowThreadDescendantWasInserted(LayoutObject*) { } 79 virtual void flowThreadDescendantWasInserted(LayoutObject*) { }
80 virtual void flowThreadDescendantWillBeRemoved(LayoutObject*) { } 80 virtual void flowThreadDescendantWillBeRemoved(LayoutObject*) { }
81 virtual void flowThreadDescendantStyleWillChange(LayoutBox*, StyleDifference , const ComputedStyle& newStyle) { } 81 virtual void flowThreadDescendantStyleWillChange(LayoutBox*, StyleDifference , const ComputedStyle& newStyle) { }
82 virtual void flowThreadDescendantStyleDidChange(LayoutBox*, StyleDifference, const ComputedStyle& oldStyle) { } 82 virtual void flowThreadDescendantStyleDidChange(LayoutBox*, StyleDifference, const ComputedStyle& oldStyle) { }
83 83
84 void absoluteQuadsForDescendant(const LayoutBox& descendant, Vector<FloatQua d>&);
85
84 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) final; 86 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) final;
85 87
86 virtual void addColumnSetToThread(LayoutMultiColumnSet*) = 0; 88 virtual void addColumnSetToThread(LayoutMultiColumnSet*) = 0;
87 virtual void removeColumnSetFromThread(LayoutMultiColumnSet*); 89 virtual void removeColumnSetFromThread(LayoutMultiColumnSet*);
88 90
89 void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, L ogicalExtentComputedValues&) const override; 91 void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, L ogicalExtentComputedValues&) const override;
90 92
91 bool hasColumnSets() const { return m_multiColumnSetList.size(); } 93 bool hasColumnSets() const { return m_multiColumnSetList.size(); }
92 94
93 void validateColumnSets(); 95 void validateColumnSets();
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // These structures are used by PODIntervalTree for debugging. 171 // These structures are used by PODIntervalTree for debugging.
170 #ifndef NDEBUG 172 #ifndef NDEBUG
171 template <> struct ValueToString<LayoutMultiColumnSet*> { 173 template <> struct ValueToString<LayoutMultiColumnSet*> {
172 static String toString(const LayoutMultiColumnSet* value) { return String::f ormat("%p", value); } 174 static String toString(const LayoutMultiColumnSet* value) { return String::f ormat("%p", value); }
173 }; 175 };
174 #endif 176 #endif
175 177
176 } // namespace blink 178 } // namespace blink
177 179
178 #endif // LayoutFlowThread_h 180 #endif // LayoutFlowThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698