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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 bool hasRegionsWithStyling() const { return m_hasRegionsWithStyling; } | 87 bool hasRegionsWithStyling() const { return m_hasRegionsWithStyling; } |
88 void checkRegionsWithStyling(); | 88 void checkRegionsWithStyling(); |
89 virtual void regionChangedWritingMode(RenderRegion*) { } | 89 virtual void regionChangedWritingMode(RenderRegion*) { } |
90 | 90 |
91 void validateRegions(); | 91 void validateRegions(); |
92 void invalidateRegions(); | 92 void invalidateRegions(); |
93 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_regionL
ist.isEmpty(); } | 93 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_regionL
ist.isEmpty(); } |
94 | 94 |
95 static PassRefPtr<RenderStyle> createFlowThreadStyle(RenderStyle* parentStyl
e); | 95 static PassRefPtr<RenderStyle> createFlowThreadStyle(RenderStyle* parentStyl
e); |
96 | 96 |
97 void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 97 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
98 | 98 |
99 void repaintRectangleInRegions(const LayoutRect&) const; | 99 void repaintRectangleInRegions(const LayoutRect&) const; |
100 | 100 |
101 LayoutPoint adjustedPositionRelativeToOffsetParent(const RenderBoxModelObjec
t&, const LayoutPoint&); | 101 LayoutPoint adjustedPositionRelativeToOffsetParent(const RenderBoxModelObjec
t&, const LayoutPoint&); |
102 | 102 |
103 LayoutUnit pageLogicalTopForOffset(LayoutUnit); | 103 LayoutUnit pageLogicalTopForOffset(LayoutUnit); |
104 LayoutUnit pageLogicalWidthForOffset(LayoutUnit); | 104 LayoutUnit pageLogicalWidthForOffset(LayoutUnit); |
105 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); | 105 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); |
106 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule
= IncludePageBoundary); | 106 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule
= IncludePageBoundary); |
107 | 107 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |