| OLD | NEW |
| 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 #include "core/css/parser/CSSPropertyParserHelpers.h" | 5 #include "core/css/parser/CSSPropertyParserHelpers.h" |
| 6 | 6 |
| 7 #include "core/StylePropertyShorthand.h" | 7 #include "core/StylePropertyShorthand.h" |
| 8 #include "core/css/CSSCalculationValue.h" | 8 #include "core/css/CSSCalculationValue.h" |
| 9 #include "core/css/CSSColorValue.h" | 9 #include "core/css/CSSColorValue.h" |
| 10 #include "core/css/CSSCrossfadeValue.h" | 10 #include "core/css/CSSCrossfadeValue.h" |
| 11 #include "core/css/CSSGradientValue.h" | 11 #include "core/css/CSSGradientValue.h" |
| 12 #include "core/css/CSSImageSetValue.h" | 12 #include "core/css/CSSImageSetValue.h" |
| 13 #include "core/css/CSSImageValue.h" | 13 #include "core/css/CSSImageValue.h" |
| 14 #include "core/css/CSSPaintValue.h" | 14 #include "core/css/CSSPaintValue.h" |
| 15 #include "core/css/CSSStringValue.h" | 15 #include "core/css/CSSStringValue.h" |
| 16 #include "core/css/CSSURIValue.h" | 16 #include "core/css/CSSURIValue.h" |
| 17 #include "core/css/CSSValuePair.h" | 17 #include "core/css/CSSValuePair.h" |
| 18 #include "core/css/CSSVariableData.h" | 18 #include "core/css/CSSVariableData.h" |
| 19 #include "core/css/StyleColor.h" | 19 #include "core/css/StyleColor.h" |
| 20 #include "core/css/parser/CSSParserContext.h" | 20 #include "core/css/parser/CSSParserContext.h" |
| 21 #include "core/css/parser/CSSParserLocalContext.h" |
| 22 #include "core/css/properties/CSSPropertyTransformUtils.h" |
| 21 #include "core/frame/UseCounter.h" | 23 #include "core/frame/UseCounter.h" |
| 22 #include "platform/RuntimeEnabledFeatures.h" | 24 #include "platform/RuntimeEnabledFeatures.h" |
| 23 | 25 |
| 24 namespace blink { | 26 namespace blink { |
| 25 | 27 |
| 26 using namespace cssvalue; | 28 using namespace cssvalue; |
| 27 | 29 |
| 28 namespace CSSPropertyParserHelpers { | 30 namespace CSSPropertyParserHelpers { |
| 29 | 31 |
| 30 namespace { | 32 namespace { |
| (...skipping 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1476 shorthand_index = | 1478 shorthand_index = |
| 1477 indexOfShorthandForLonghand(current_shorthand, shorthands); | 1479 indexOfShorthandForLonghand(current_shorthand, shorthands); |
| 1478 } | 1480 } |
| 1479 } | 1481 } |
| 1480 | 1482 |
| 1481 properties.push_back(CSSProperty(resolved_property, value, important, | 1483 properties.push_back(CSSProperty(resolved_property, value, important, |
| 1482 set_from_shorthand, shorthand_index, | 1484 set_from_shorthand, shorthand_index, |
| 1483 implicit)); | 1485 implicit)); |
| 1484 } | 1486 } |
| 1485 | 1487 |
| 1488 CSSValue* ConsumeTransformList(CSSParserTokenRange& range, |
| 1489 const CSSParserContext& context) { |
| 1490 return CSSPropertyTransformUtils::ConsumeTransformList( |
| 1491 range, context, CSSParserLocalContext()); |
| 1492 } |
| 1493 |
| 1486 } // namespace CSSPropertyParserHelpers | 1494 } // namespace CSSPropertyParserHelpers |
| 1487 | 1495 |
| 1488 } // namespace blink | 1496 } // namespace blink |
| OLD | NEW |