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

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

Issue 945803004: Merge back LayoutLayerModelObject into RenderBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better rebasing. Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutBoxModelObject.cpp ('k') | Source/core/layout/LayoutFlowThread.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual void removeRegionFromThread(LayoutMultiColumnSet*); 80 virtual void removeRegionFromThread(LayoutMultiColumnSet*);
81 81
82 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override; 82 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
83 83
84 bool hasRegions() const { return m_multiColumnSetList.size(); } 84 bool hasRegions() const { return m_multiColumnSetList.size(); }
85 85
86 void validateRegions(); 86 void validateRegions();
87 void invalidateRegions(); 87 void invalidateRegions();
88 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_multiCo lumnSetList.isEmpty(); } 88 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_multiCo lumnSetList.isEmpty(); }
89 89
90 virtual void mapRectToPaintInvalidationBacking(const LayoutLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o verride; 90 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const ove rride;
91 91
92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); 92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit);
93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule = IncludePageBoundary); 93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule = IncludePageBoundary);
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 bool regionsHaveUniformLogicalHeight() const { return m_regionsHaveUniformLo gicalHeight; } 98 bool regionsHaveUniformLogicalHeight() const { return m_regionsHaveUniformLo gicalHeight; }
99 99
100 // FIXME: These 2 functions should return a LayoutMultiColumnSet. 100 // FIXME: These 2 functions should return a LayoutMultiColumnSet.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 }; 167 };
168 168
169 template <> struct ValueToString<LayoutMultiColumnSet*> { 169 template <> struct ValueToString<LayoutMultiColumnSet*> {
170 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); } 170 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); }
171 }; 171 };
172 #endif 172 #endif
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 #endif // LayoutFlowThread_h 176 #endif // LayoutFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutBoxModelObject.cpp ('k') | Source/core/layout/LayoutFlowThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698