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

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

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 static Length convertLineHeight(StyleResolverState&, const CSSValue&); 82 static Length convertLineHeight(StyleResolverState&, const CSSValue&);
83 static float convertNumberOrPercentage(StyleResolverState&, const CSSValue&) ; 83 static float convertNumberOrPercentage(StyleResolverState&, const CSSValue&) ;
84 static StyleMotionRotation convertMotionRotation(StyleResolverState&, const CSSValue&); 84 static StyleMotionRotation convertMotionRotation(StyleResolverState&, const CSSValue&);
85 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&); 85 static LengthPoint convertPosition(StyleResolverState&, const CSSValue&);
86 static float convertPerspective(StyleResolverState&, const CSSValue&); 86 static float convertPerspective(StyleResolverState&, const CSSValue&);
87 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&); 87 static Length convertQuirkyLength(StyleResolverState&, const CSSValue&);
88 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, const CSSVa lue&); 88 static PassRefPtr<QuotesData> convertQuotes(StyleResolverState&, const CSSVa lue&);
89 static LengthSize convertRadius(StyleResolverState&, const CSSValue&); 89 static LengthSize convertRadius(StyleResolverState&, const CSSValue&);
90 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&); 90 static EPaintOrder convertPaintOrder(StyleResolverState&, const CSSValue&);
91 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, const CSSVa lue&); 91 static PassRefPtr<ShadowList> convertShadow(StyleResolverState&, const CSSVa lue&);
92 static RawPtr<ShapeValue> convertShapeValue(StyleResolverState&, const CSSVa lue&); 92 static ShapeValue* convertShapeValue(StyleResolverState&, const CSSValue&);
93 static float convertSpacing(StyleResolverState&, const CSSValue&); 93 static float convertSpacing(StyleResolverState&, const CSSValue&);
94 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol verState&, const CSSValue&); 94 template <CSSValueID IdForNone> static AtomicString convertString(StyleResol verState&, const CSSValue&);
95 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&, const CSSValue&); 95 static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&, const CSSValue&);
96 static StyleColor convertStyleColor(StyleResolverState&, const CSSValue&, bo ol forVisitedLink = false); 96 static StyleColor convertStyleColor(StyleResolverState&, const CSSValue&, bo ol forVisitedLink = false);
97 static float convertTextStrokeWidth(StyleResolverState&, const CSSValue&); 97 static float convertTextStrokeWidth(StyleResolverState&, const CSSValue&);
98 static TransformOrigin convertTransformOrigin(StyleResolverState&, const CSS Value&); 98 static TransformOrigin convertTransformOrigin(StyleResolverState&, const CSS Value&);
99 99
100 static void convertGridTrackList(const CSSValue&, Vector<GridTrackSize>&, Na medGridLinesMap&, OrderedNamedGridLines&, 100 static void convertGridTrackList(const CSSValue&, Vector<GridTrackSize>&, Na medGridLinesMap&, OrderedNamedGridLines&,
101 Vector<GridTrackSize>& autoRepeatTrackSizes, NamedGridLinesMap&, Ordered NamedGridLines&, 101 Vector<GridTrackSize>& autoRepeatTrackSizes, NamedGridLinesMap&, Ordered NamedGridLines&,
102 size_t& autoRepeatInsertionPoint, AutoRepeatType&, StyleResolverState&); 102 size_t& autoRepeatInsertionPoint, AutoRepeatType&, StyleResolverState&);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 { 164 {
165 if (value.isStringValue()) 165 if (value.isStringValue())
166 return AtomicString(toCSSStringValue(value).value()); 166 return AtomicString(toCSSStringValue(value).value());
167 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone); 167 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone);
168 return nullAtom; 168 return nullAtom;
169 } 169 }
170 170
171 } // namespace blink 171 } // namespace blink
172 172
173 #endif 173 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698