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

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

Issue 143383002: Region based multicol: support explicit column breaks (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review. Created 6 years, 10 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 void clearRenderObjectCustomStyle(const RenderObject*, 140 void clearRenderObjectCustomStyle(const RenderObject*,
141 const RenderRegion* oldStartRegion = 0, const RenderRegion* oldEndRegion = 0, 141 const RenderRegion* oldStartRegion = 0, const RenderRegion* oldEndRegion = 0,
142 const RenderRegion* newStartRegion = 0, const RenderRegion* newEndRegion = 0); 142 const RenderRegion* newStartRegion = 0, const RenderRegion* newEndRegion = 0);
143 143
144 // Check if the object is in region and the region is part of this flow thre ad. 144 // Check if the object is in region and the region is part of this flow thre ad.
145 bool objectInFlowRegion(const RenderObject*, const RenderRegion*) const; 145 bool objectInFlowRegion(const RenderObject*, const RenderRegion*) const;
146 146
147 void markAutoLogicalHeightRegionsForLayout(); 147 void markAutoLogicalHeightRegionsForLayout();
148 148
149 bool addForcedRegionBreak(LayoutUnit, RenderObject* breakChild, bool isBefor e, LayoutUnit* offsetBreakAdjustment = 0); 149 virtual bool addForcedRegionBreak(LayoutUnit, RenderObject* breakChild, bool isBefore, LayoutUnit* offsetBreakAdjustment = 0);
150 void applyBreakAfterContent(LayoutUnit); 150 void applyBreakAfterContent(LayoutUnit);
151 151
152 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } 152 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; }
153 153
154 bool hasAutoLogicalHeightRegions() const { ASSERT(isAutoLogicalHeightRegions CountConsistent()); return m_autoLogicalHeightRegionsCount; } 154 bool hasAutoLogicalHeightRegions() const { ASSERT(isAutoLogicalHeightRegions CountConsistent()); return m_autoLogicalHeightRegionsCount; }
155 void incrementAutoLogicalHeightRegions(); 155 void incrementAutoLogicalHeightRegions();
156 void decrementAutoLogicalHeightRegions(); 156 void decrementAutoLogicalHeightRegions();
157 157
158 #ifndef NDEBUG 158 #ifndef NDEBUG
159 bool isAutoLogicalHeightRegionsCountConsistent() const; 159 bool isAutoLogicalHeightRegionsCountConsistent() const;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 }; 314 };
315 315
316 template <> struct ValueToString<RenderRegion*> { 316 template <> struct ValueToString<RenderRegion*> {
317 static String string(const RenderRegion* value) { return String::format("%p" , value); } 317 static String string(const RenderRegion* value) { return String::format("%p" , value); }
318 }; 318 };
319 #endif 319 #endif
320 320
321 } // namespace WebCore 321 } // namespace WebCore
322 322
323 #endif // RenderFlowThread_h 323 #endif // RenderFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | Source/core/rendering/RenderMultiColumnBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698