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

Side by Side Diff: Source/core/rendering/RenderFlowThread.h

Issue 263083009: [New Multicolumn] Make fast/multicol/overflow-content.html pass in the new implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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) 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 bool regionsHaveUniformLogicalHeight() const { return m_regionsHaveUniformLo gicalHeight; } 97 bool regionsHaveUniformLogicalHeight() const { return m_regionsHaveUniformLo gicalHeight; }
98 98
99 RenderRegion* firstRegion() const; 99 RenderRegion* firstRegion() const;
100 RenderRegion* lastRegion() const; 100 RenderRegion* lastRegion() const;
101 101
102 void setRegionRangeForBox(const RenderBox*, LayoutUnit offsetFromLogicalTopO fFirstPage); 102 void setRegionRangeForBox(const RenderBox*, LayoutUnit offsetFromLogicalTopO fFirstPage);
103 void getRegionRangeForBox(const RenderBox*, RenderRegion*& startRegion, Rend erRegion*& endRegion) const; 103 void getRegionRangeForBox(const RenderBox*, RenderRegion*& startRegion, Rend erRegion*& endRegion) const;
104 104
105 virtual bool addForcedRegionBreak(LayoutUnit, RenderObject* breakChild, bool isBefore, LayoutUnit* offsetBreakAdjustment = 0) { return false; } 105 virtual bool addForcedRegionBreak(LayoutUnit, RenderObject* breakChild, bool isBefore, LayoutUnit* offsetBreakAdjustment = 0) { return false; }
106 void applyBreakAfterContent(LayoutUnit);
107 106
108 virtual bool isPageLogicalHeightKnown() const { return true; } 107 virtual bool isPageLogicalHeightKnown() const { return true; }
109 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } 108 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; }
110 109
111 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB ox, const LayoutRect& dirtyRect); 110 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB ox, const LayoutRect& dirtyRect);
112 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox); 111 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox);
113 112
114 void pushFlowThreadLayoutState(const RenderObject&); 113 void pushFlowThreadLayoutState(const RenderObject&);
115 void popFlowThreadLayoutState(); 114 void popFlowThreadLayoutState();
116 LayoutUnit offsetFromLogicalTopOfFirstRegion(const RenderBlock*) const; 115 LayoutUnit offsetFromLogicalTopOfFirstRegion(const RenderBlock*) const;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 }; 220 };
222 221
223 template <> struct ValueToString<RenderRegion*> { 222 template <> struct ValueToString<RenderRegion*> {
224 static String string(const RenderRegion* value) { return String::format("%p" , value); } 223 static String string(const RenderRegion* value) { return String::format("%p" , value); }
225 }; 224 };
226 #endif 225 #endif
227 226
228 } // namespace WebCore 227 } // namespace WebCore
229 228
230 #endif // RenderFlowThread_h 229 #endif // RenderFlowThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698