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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h

Issue 2951763002: CSS Properties & Values API: replace transform-function with transform-list. (Closed)
Patch Set: move Created 3 years, 5 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSPropertyParserHelpers_h 5 #ifndef CSSPropertyParserHelpers_h
6 #define CSSPropertyParserHelpers_h 6 #define CSSPropertyParserHelpers_h
7 7
8 #include "core/css/CSSCustomIdentValue.h" 8 #include "core/css/CSSCustomIdentValue.h"
9 #include "core/css/CSSIdentifierValue.h" 9 #include "core/css/CSSIdentifierValue.h"
10 #include "core/css/CSSPrimitiveValue.h" 10 #include "core/css/CSSPrimitiveValue.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 do { 148 do {
149 CSSValue* value = callback(range, args...); 149 CSSValue* value = callback(range, args...);
150 if (!value) 150 if (!value)
151 return nullptr; 151 return nullptr;
152 list->Append(*value); 152 list->Append(*value);
153 } while (ConsumeCommaIncludingWhitespace(range)); 153 } while (ConsumeCommaIncludingWhitespace(range));
154 DCHECK(list->length()); 154 DCHECK(list->length());
155 return list; 155 return list;
156 } 156 }
157 157
158 CSSValue* ConsumeTransformList(CSSParserTokenRange&, const CSSParserContext&);
159
158 } // namespace CSSPropertyParserHelpers 160 } // namespace CSSPropertyParserHelpers
159 161
160 } // namespace blink 162 } // namespace blink
161 163
162 #endif // CSSPropertyParserHelpers_h 164 #endif // CSSPropertyParserHelpers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698