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

Side by Side Diff: Source/core/rendering/exclusions/ExclusionShapeInfo.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 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 13 matching lines...) Expand all
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 27 * SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "config.h" 30 #include "config.h"
31 #include "core/rendering/exclusions/ExclusionShapeInfo.h" 31 #include "core/rendering/exclusions/ExclusionShapeInfo.h"
32 32
33 #include "core/rendering/exclusions/ExclusionShape.h" 33 #include "core/rendering/exclusions/ExclusionShape.h"
34 #include "core/rendering/RenderBlock.h"
35 #include "core/rendering/RenderBox.h"
36 #include "core/rendering/RenderRegion.h" 34 #include "core/rendering/RenderRegion.h"
37 #include "core/rendering/style/RenderStyle.h" 35 #include "core/rendering/style/RenderStyle.h"
38 36
39 namespace WebCore { 37 namespace WebCore {
40 template<class RenderType, ExclusionShapeValue* (RenderStyle::*shapeGetter)() co nst, void (ExclusionShape::*intervalGetter)(LayoutUnit, LayoutUnit, SegmentList& ) const> 38 template<class RenderType, ExclusionShapeValue* (RenderStyle::*shapeGetter)() co nst, void (ExclusionShape::*intervalGetter)(LayoutUnit, LayoutUnit, SegmentList& ) const>
41 const ExclusionShape* ExclusionShapeInfo<RenderType, shapeGetter, intervalGetter >::computedShape() const 39 const ExclusionShape* ExclusionShapeInfo<RenderType, shapeGetter, intervalGetter >::computedShape() const
42 { 40 {
43 if (ExclusionShape* exclusionShape = m_shape.get()) 41 if (ExclusionShape* exclusionShape = m_shape.get())
44 return exclusionShape; 42 return exclusionShape;
45 43
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 m_segments[i].logicalLeft += logicalLeftOffset; 77 m_segments[i].logicalLeft += logicalLeftOffset;
80 m_segments[i].logicalRight += logicalLeftOffset; 78 m_segments[i].logicalRight += logicalLeftOffset;
81 } 79 }
82 80
83 return m_segments.size(); 81 return m_segments.size();
84 } 82 }
85 83
86 template class ExclusionShapeInfo<RenderBlock, &RenderStyle::resolvedShapeInside , &ExclusionShape::getIncludedIntervals>; 84 template class ExclusionShapeInfo<RenderBlock, &RenderStyle::resolvedShapeInside , &ExclusionShape::getIncludedIntervals>;
87 template class ExclusionShapeInfo<RenderBox, &RenderStyle::shapeOutside, &Exclus ionShape::getExcludedIntervals>; 85 template class ExclusionShapeInfo<RenderBox, &RenderStyle::shapeOutside, &Exclus ionShape::getExcludedIntervals>;
88 } 86 }
OLDNEW
« no previous file with comments | « Source/core/rendering/exclusions/ExclusionShape.cpp ('k') | Source/core/rendering/style/ContentData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698