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

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

Issue 1259943002: collectLayerFragments() expects a dirty rect relative to the multicol container. (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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule = IncludePageBoundary); 91 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule = IncludePageBoundary);
92 92
93 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage* /) { } 93 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage* /) { }
94 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min Height*/) { } 94 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min Height*/) { }
95 95
96 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; } 96 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; }
97 97
98 virtual bool isPageLogicalHeightKnown() const { return true; } 98 virtual bool isPageLogicalHeightKnown() const { return true; }
99 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } 99 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; }
100 100
101 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRect); 101 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRectInFlowThread);
102 102
103 // Return the visual bounding box based on the supplied flow-thread bounding box. Both 103 // Return the visual bounding box based on the supplied flow-thread bounding box. Both
104 // rectangles are completely physical in terms of writing mode. 104 // rectangles are completely physical in terms of writing mode.
105 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; 105 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const;
106 106
107 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint) const 107 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint) const
108 { 108 {
109 return flowThreadPoint + columnOffset(flowThreadPoint); 109 return flowThreadPoint + columnOffset(flowThreadPoint);
110 } 110 }
111 111
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 }; 157 };
158 158
159 template <> struct ValueToString<LayoutMultiColumnSet*> { 159 template <> struct ValueToString<LayoutMultiColumnSet*> {
160 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); } 160 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); }
161 }; 161 };
162 #endif 162 #endif
163 163
164 } // namespace blink 164 } // namespace blink
165 165
166 #endif // LayoutFlowThread_h 166 #endif // LayoutFlowThread_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/basic-rtl-expected.html ('k') | Source/core/layout/LayoutFlowThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698