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

Side by Side Diff: Source/core/css/resolver/StyleBuilderConverter.h

Issue 645073003: Move special code for 'shape-outside' out of StyleBuilderFunctions.cpp.tmpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unreachable nullptr. Created 6 years, 2 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
« no previous file with comments | « Source/core/css/CSSProperties.in ('k') | Source/core/css/resolver/StyleBuilderConverter.cpp » ('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 * * Redistributions of source code must retain the above copyright 4 * * Redistributions of source code must retain the above copyright
5 * notice, this list of conditions and the following disclaimer. 5 * notice, this list of conditions and the following disclaimer.
6 * * Redistributions in binary form must reproduce the above 6 * * Redistributions in binary form must reproduce the above
7 * copyright notice, this list of conditions and the following disclaimer 7 * copyright notice, this list of conditions and the following disclaimer
8 * in the documentation and/or other materials provided with the 8 * in the documentation and/or other materials provided with the
9 * distribution. 9 * distribution.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*); 66 static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*);
67 static LengthPoint convertLengthPoint(StyleResolverState&, CSSValue*); 67 static LengthPoint convertLengthPoint(StyleResolverState&, CSSValue*);
68 static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*); 68 static LineBoxContain convertLineBoxContain(StyleResolverState&, CSSValue*);
69 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*); 69 static float convertNumberOrPercentage(StyleResolverState&, CSSValue*);
70 static float convertPerspective(StyleResolverState&, CSSValue*); 70 static float convertPerspective(StyleResolverState&, CSSValue*);
71 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*); 71 static LengthPoint convertPerspectiveOrigin(StyleResolverState&, CSSValue*);
72 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*); 72 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, CSSValue*);
73 static LengthSize convertRadius(StyleResolverState&, CSSValue*); 73 static LengthSize convertRadius(StyleResolverState&, CSSValue*);
74 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*); 74 static EPaintOrder convertPaintOrder(StyleResolverState&, CSSValue*);
75 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*); 75 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, CSSValue*);
76 static PassRefPtr<ShapeValue> convertShapeValue(StyleResolverState&, CSSValu e*);
76 static float convertSpacing(StyleResolverState&, CSSValue*); 77 static float convertSpacing(StyleResolverState&, CSSValue*);
77 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol verState&, CSSValue*); 78 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol verState&, CSSValue*);
78 static PassRefPtr<SVGLengthList> convertStrokeDasharray(StyleResolverState&, CSSValue*); 79 static PassRefPtr<SVGLengthList> convertStrokeDasharray(StyleResolverState&, CSSValue*);
79 static StyleColor convertStyleColor(StyleResolverState&, CSSValue*, bool for VisitedLink = false); 80 static StyleColor convertStyleColor(StyleResolverState&, CSSValue*, bool for VisitedLink = false);
80 static Color convertSVGColor(StyleResolverState&, CSSValue*); 81 static Color convertSVGColor(StyleResolverState&, CSSValue*);
81 static PassRefPtr<SVGLength> convertSVGLength(StyleResolverState&, CSSValue* ); 82 static PassRefPtr<SVGLength> convertSVGLength(StyleResolverState&, CSSValue* );
82 static float convertTextStrokeWidth(StyleResolverState&, CSSValue*); 83 static float convertTextStrokeWidth(StyleResolverState&, CSSValue*);
83 static TransformOrigin convertTransformOrigin(StyleResolverState&, CSSValue* ); 84 static TransformOrigin convertTransformOrigin(StyleResolverState&, CSSValue* );
84 85
85 static bool convertGridTrackList(CSSValue*, Vector<GridTrackSize>&, NamedGri dLinesMap&, OrderedNamedGridLines&, StyleResolverState&); 86 static bool convertGridTrackList(CSSValue*, Vector<GridTrackSize>&, NamedGri dLinesMap&, OrderedNamedGridLines&, StyleResolverState&);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 { 135 {
135 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); 136 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
136 if (primitiveValue->getValueID() == IdForNone) 137 if (primitiveValue->getValueID() == IdForNone)
137 return nullAtom; 138 return nullAtom;
138 return AtomicString(primitiveValue->getStringValue()); 139 return AtomicString(primitiveValue->getStringValue());
139 } 140 }
140 141
141 } // namespace blink 142 } // namespace blink
142 143
143 #endif 144 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSProperties.in ('k') | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698