| OLD | NEW |
| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // FIXME: These 2 functions should return a LayoutMultiColumnSet. | 100 // FIXME: These 2 functions should return a LayoutMultiColumnSet. |
| 101 LayoutRegion* firstRegion() const; | 101 LayoutRegion* firstRegion() const; |
| 102 LayoutRegion* lastRegion() const; | 102 LayoutRegion* lastRegion() const; |
| 103 | 103 |
| 104 virtual bool addForcedRegionBreak(LayoutUnit, LayoutObject* breakChild, bool
isBefore, LayoutUnit* offsetBreakAdjustment = 0) { return false; } | 104 virtual bool addForcedRegionBreak(LayoutUnit, LayoutObject* breakChild, bool
isBefore, LayoutUnit* offsetBreakAdjustment = 0) { return false; } |
| 105 | 105 |
| 106 virtual bool isPageLogicalHeightKnown() const { return true; } | 106 virtual bool isPageLogicalHeightKnown() const { return true; } |
| 107 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } | 107 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } |
| 108 | 108 |
| 109 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB
ox, const LayoutRect& dirtyRect); | 109 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB
ox, const LayoutRect& dirtyRect); |
| 110 |
| 111 // Return the visual bounding box based on the supplied flow-thread bounding
box. Both |
| 112 // rectangles are completely physical in terms of writing mode. |
| 110 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; | 113 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; |
| 111 | 114 |
| 112 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint)
const | 115 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint)
const |
| 113 { | 116 { |
| 114 return flowThreadPoint + columnOffset(flowThreadPoint); | 117 return flowThreadPoint + columnOffset(flowThreadPoint); |
| 115 } | 118 } |
| 116 | 119 |
| 117 // Used to estimate the maximum height of the flow thread. | 120 // Used to estimate the maximum height of the flow thread. |
| 118 static LayoutUnit maxLogicalHeight() { return LayoutUnit::max() / 2; } | 121 static LayoutUnit maxLogicalHeight() { return LayoutUnit::max() / 2; } |
| 119 | 122 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 }; | 167 }; |
| 165 | 168 |
| 166 template <> struct ValueToString<LayoutMultiColumnSet*> { | 169 template <> struct ValueToString<LayoutMultiColumnSet*> { |
| 167 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); } |
| 168 }; | 171 }; |
| 169 #endif | 172 #endif |
| 170 | 173 |
| 171 } // namespace blink | 174 } // namespace blink |
| 172 | 175 |
| 173 #endif // LayoutFlowThread_h | 176 #endif // LayoutFlowThread_h |
| OLD | NEW |