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

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

Issue 2569113004: [css-align] Dedicated initial functions for {align-justify}-content
Patch Set: Preliminary approach. Created 4 years 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 StyleResolverState&, 88 StyleResolverState&,
89 const CSSValue&); 89 const CSSValue&);
90 static FontDescription::VariantLigatures convertFontVariantLigatures( 90 static FontDescription::VariantLigatures convertFontVariantLigatures(
91 StyleResolverState&, 91 StyleResolverState&,
92 const CSSValue&); 92 const CSSValue&);
93 static FontVariantNumeric convertFontVariantNumeric(StyleResolverState&, 93 static FontVariantNumeric convertFontVariantNumeric(StyleResolverState&,
94 const CSSValue&); 94 const CSSValue&);
95 static StyleSelfAlignmentData convertSelfOrDefaultAlignmentData( 95 static StyleSelfAlignmentData convertSelfOrDefaultAlignmentData(
96 StyleResolverState&, 96 StyleResolverState&,
97 const CSSValue&); 97 const CSSValue&);
98 static StyleContentAlignmentData convertContentAlignmentData( 98 static StyleContentAlignmentData convertAlignContent(StyleResolverState&,
99 StyleResolverState&, 99 const CSSValue&);
100 const CSSValue&); 100 static StyleContentAlignmentData convertJustifyContent(StyleResolverState&,
101 const CSSValue&);
101 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, const CSSValue&); 102 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, const CSSValue&);
102 static GridPosition convertGridPosition(StyleResolverState&, const CSSValue&); 103 static GridPosition convertGridPosition(StyleResolverState&, const CSSValue&);
103 static GridTrackSize convertGridTrackSize(StyleResolverState&, 104 static GridTrackSize convertGridTrackSize(StyleResolverState&,
104 const CSSValue&); 105 const CSSValue&);
105 static Vector<GridTrackSize> convertGridTrackSizeList(StyleResolverState&, 106 static Vector<GridTrackSize> convertGridTrackSizeList(StyleResolverState&,
106 const CSSValue&); 107 const CSSValue&);
107 template <typename T> 108 template <typename T>
108 static T convertLineWidth(StyleResolverState&, const CSSValue&); 109 static T convertLineWidth(StyleResolverState&, const CSSValue&);
109 static Length convertLength(const StyleResolverState&, const CSSValue&); 110 static Length convertLength(const StyleResolverState&, const CSSValue&);
110 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, 111 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 const CSSValue& value) { 245 const CSSValue& value) {
245 if (value.isStringValue()) 246 if (value.isStringValue())
246 return AtomicString(toCSSStringValue(value).value()); 247 return AtomicString(toCSSStringValue(value).value());
247 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone); 248 DCHECK_EQ(toCSSIdentifierValue(value).getValueID(), IdForNone);
248 return nullAtom; 249 return nullAtom;
249 } 250 }
250 251
251 } // namespace blink 252 } // namespace blink
252 253
253 #endif 254 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698