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

Side by Side Diff: Source/core/rendering/RenderRegion.h

Issue 18601002: Add infrastructure for partial layouts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: define RenderObject::frameView in the header Created 7 years, 3 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/rendering/RenderProgress.h ('k') | Source/core/rendering/RenderRuby.h » ('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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderProgress.h ('k') | Source/core/rendering/RenderRuby.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698