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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 157 |
158 private: | 158 private: |
159 virtual const char* renderName() const { return "RenderRegion"; } | 159 virtual const char* renderName() const { return "RenderRegion"; } |
160 | 160 |
161 virtual bool canHaveChildren() const OVERRIDE { return false; } | 161 virtual bool canHaveChildren() const OVERRIDE { return false; } |
162 | 162 |
163 virtual void insertedIntoTree() OVERRIDE; | 163 virtual void insertedIntoTree() OVERRIDE; |
164 virtual void willBeRemovedFromTree() OVERRIDE; | 164 virtual void willBeRemovedFromTree() OVERRIDE; |
165 | 165 |
166 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight
= 0) OVERRIDE; | 166 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight
= 0) OVERRIDE; |
| 167 virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
167 virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE; | 168 virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE; |
168 | 169 |
169 virtual void installFlowThread(); | 170 virtual void installFlowThread(); |
170 | 171 |
171 PassRefPtr<RenderStyle> computeStyleInRegion(const RenderObject*); | 172 PassRefPtr<RenderStyle> computeStyleInRegion(const RenderObject*); |
172 void computeChildrenStyleInRegion(const RenderObject*); | 173 void computeChildrenStyleInRegion(const RenderObject*); |
173 void setObjectStyleInRegion(RenderObject*, PassRefPtr<RenderStyle>, bool obj
ectRegionStyleCached); | 174 void setObjectStyleInRegion(RenderObject*, PassRefPtr<RenderStyle>, bool obj
ectRegionStyleCached); |
174 | 175 |
175 void checkRegionStyle(); | 176 void checkRegionStyle(); |
176 void updateRegionHasAutoLogicalHeightFlag(); | 177 void updateRegionHasAutoLogicalHeightFlag(); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderRegion()); | 227 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderRegion()); |
227 return static_cast<const RenderRegion*>(object); | 228 return static_cast<const RenderRegion*>(object); |
228 } | 229 } |
229 | 230 |
230 // This will catch anyone doing an unnecessary cast. | 231 // This will catch anyone doing an unnecessary cast. |
231 void toRenderRegion(const RenderRegion*); | 232 void toRenderRegion(const RenderRegion*); |
232 | 233 |
233 } // namespace WebCore | 234 } // namespace WebCore |
234 | 235 |
235 #endif // RenderRegion_h | 236 #endif // RenderRegion_h |
OLD | NEW |