| 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/cssom/InlineStylePropertyMap.h" |    5 #include "core/css/cssom/InlineStylePropertyMap.h" | 
|    6  |    6  | 
|    7 #include "bindings/core/v8/Iterable.h" |    7 #include "bindings/core/v8/Iterable.h" | 
|    8 #include "core/CSSPropertyNames.h" |    8 #include "core/CSSPropertyNames.h" | 
|    9 #include "core/css/CSSCustomIdentValue.h" |    9 #include "core/css/CSSCustomIdentValue.h" | 
|   10 #include "core/css/CSSCustomPropertyDeclaration.h" |   10 #include "core/css/CSSCustomPropertyDeclaration.h" | 
|   11 #include "core/css/CSSPrimitiveValue.h" |   11 #include "core/css/CSSPrimitiveValue.h" | 
|   12 #include "core/css/CSSPropertyMetadata.h" |   12 #include "core/css/CSSPropertyMetadata.h" | 
|   13 #include "core/css/CSSValueList.h" |   13 #include "core/css/CSSValueList.h" | 
|   14 #include "core/css/StylePropertySet.h" |   14 #include "core/css/StylePropertySet.h" | 
|   15 #include "core/css/cssom/CSSOMTypes.h" |   15 #include "core/css/cssom/CSSOMTypes.h" | 
|   16 #include "core/css/cssom/CSSSimpleLength.h" |  | 
|   17 #include "core/css/cssom/CSSUnsupportedStyleValue.h" |   16 #include "core/css/cssom/CSSUnsupportedStyleValue.h" | 
|   18 #include "core/css/cssom/StyleValueFactory.h" |   17 #include "core/css/cssom/StyleValueFactory.h" | 
|   19  |   18  | 
|   20 namespace blink { |   19 namespace blink { | 
|   21  |   20  | 
|   22 namespace { |   21 namespace { | 
|   23  |   22  | 
|   24 CSSValueList* CssValueListForPropertyID(CSSPropertyID property_id) { |   23 CSSValueList* CssValueListForPropertyID(CSSPropertyID property_id) { | 
|   25   char separator = CSSPropertyMetadata::RepetitionSeparator(property_id); |   24   char separator = CSSPropertyMetadata::RepetitionSeparator(property_id); | 
|   26   switch (separator) { |   25   switch (separator) { | 
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  243         value.setCSSStyleValue(style_value_vector[0]); |  242         value.setCSSStyleValue(style_value_vector[0]); | 
|  244       else |  243       else | 
|  245         value.setCSSStyleValueSequence(style_value_vector); |  244         value.setCSSStyleValueSequence(style_value_vector); | 
|  246     } |  245     } | 
|  247     result.push_back(std::make_pair(name, value)); |  246     result.push_back(std::make_pair(name, value)); | 
|  248   } |  247   } | 
|  249   return result; |  248   return result; | 
|  250 } |  249 } | 
|  251  |  250  | 
|  252 }  // namespace blink |  251 }  // namespace blink | 
| OLD | NEW |