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

Side by Side Diff: Source/core/rendering/RenderBlockFlow.cpp

Issue 241713002: Remove some dead code from rendering/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/RenderBlockFlow.h ('k') | Source/core/rendering/RenderBox.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 { 163 {
164 } 164 }
165 165
166 RenderBlockFlow* RenderBlockFlow::createAnonymous(Document* document) 166 RenderBlockFlow* RenderBlockFlow::createAnonymous(Document* document)
167 { 167 {
168 RenderBlockFlow* renderer = new RenderBlockFlow(0); 168 RenderBlockFlow* renderer = new RenderBlockFlow(0);
169 renderer->setDocumentForAnonymous(document); 169 renderer->setDocumentForAnonymous(document);
170 return renderer; 170 return renderer;
171 } 171 }
172 172
173 RenderBlockFlow* RenderBlockFlow::createAnonymousBlockFlow() const
174 {
175 return toRenderBlockFlow(createAnonymousWithParentRendererAndDisplay(this, B LOCK));
176 }
177
178 RenderObject* RenderBlockFlow::layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayoutScope& layoutScope) 173 RenderObject* RenderBlockFlow::layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayoutScope& layoutScope)
179 { 174 {
180 RenderMultiColumnFlowThread* flowThread = multiColumnFlowThread(); 175 RenderMultiColumnFlowThread* flowThread = multiColumnFlowThread();
181 if (!flowThread) 176 if (!flowThread)
182 return 0; 177 return 0;
183 setLogicalTopForChild(flowThread, borderBefore() + paddingBefore()); 178 setLogicalTopForChild(flowThread, borderBefore() + paddingBefore());
184 flowThread->layoutColumns(relayoutChildren, layoutScope); 179 flowThread->layoutColumns(relayoutChildren, layoutScope);
185 determineLogicalLeftPositionForChild(flowThread); 180 determineLogicalLeftPositionForChild(flowThread);
186 return flowThread; 181 return flowThread;
187 } 182 }
(...skipping 2616 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 RenderBlockFlow::RenderBlockFlowRareData& RenderBlockFlow::ensureRareData() 2799 RenderBlockFlow::RenderBlockFlowRareData& RenderBlockFlow::ensureRareData()
2805 { 2800 {
2806 if (m_rareData) 2801 if (m_rareData)
2807 return *m_rareData; 2802 return *m_rareData;
2808 2803
2809 m_rareData = adoptPtr(new RenderBlockFlowRareData(this)); 2804 m_rareData = adoptPtr(new RenderBlockFlowRareData(this));
2810 return *m_rareData; 2805 return *m_rareData;
2811 } 2806 }
2812 2807
2813 } // namespace WebCore 2808 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.h ('k') | Source/core/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698