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

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

Issue 1287113002: Clean up PageBoundaryRule enum. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 bool hasColumnSets() const { return m_multiColumnSetList.size(); } 84 bool hasColumnSets() const { return m_multiColumnSetList.size(); }
85 85
86 void validateColumnSets(); 86 void validateColumnSets();
87 void invalidateColumnSets(); 87 void invalidateColumnSets();
88 bool hasValidColumnSetInfo() const { return !m_columnSetsInvalidated && !m_m ultiColumnSetList.isEmpty(); } 88 bool hasValidColumnSetInfo() const { return !m_columnSetsInvalidated && !m_m ultiColumnSetList.isEmpty(); }
89 89
90 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva lidationContainer, LayoutRect&, const PaintInvalidationState*) const override; 90 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva lidationContainer, LayoutRect&, const PaintInvalidationState*) const override;
91 91
92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); 92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit);
93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule = IncludePageBoundary); 93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule) ;
94 94
95 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage* /) { } 95 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage* /) { }
96 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min Height*/) { } 96 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min Height*/) { }
97 97
98 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; } 98 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; }
99 99
100 virtual bool isPageLogicalHeightKnown() const { return true; } 100 virtual bool isPageLogicalHeightKnown() const { return true; }
101 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } 101 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; }
102 102
103 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRectInFlowThread); 103 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRectInFlowThread);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 }; 159 };
160 160
161 template <> struct ValueToString<LayoutMultiColumnSet*> { 161 template <> struct ValueToString<LayoutMultiColumnSet*> {
162 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); } 162 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); }
163 }; 163 };
164 #endif 164 #endif
165 165
166 } // namespace blink 166 } // namespace blink
167 167
168 #endif // LayoutFlowThread_h 168 #endif // LayoutFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutBlockFlow.cpp ('k') | Source/core/layout/LayoutMultiColumnFlowThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698