| 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 #ifndef CSSUnparsedValue_h | 5 #ifndef CSSUnparsedValue_h |
| 6 #define CSSUnparsedValue_h | 6 #define CSSUnparsedValue_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/StringOrCSSVariableReferenceValue.h" | 8 #include "bindings/core/v8/StringOrCSSVariableReferenceValue.h" |
| 9 #include "core/css/CSSVariableReferenceValue.h" | 9 #include "core/css/CSSVariableReferenceValue.h" |
| 10 #include "core/css/cssom/CSSStyleValue.h" | 10 #include "core/css/cssom/CSSStyleValue.h" |
| 11 #include "wtf/Vector.h" | 11 #include "platform/wtf/Vector.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class CORE_EXPORT CSSUnparsedValue final : public CSSStyleValue { | 15 class CORE_EXPORT CSSUnparsedValue final : public CSSStyleValue { |
| 16 WTF_MAKE_NONCOPYABLE(CSSUnparsedValue); | 16 WTF_MAKE_NONCOPYABLE(CSSUnparsedValue); |
| 17 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 static CSSUnparsedValue* Create( | 20 static CSSUnparsedValue* Create( |
| 21 const HeapVector<StringOrCSSVariableReferenceValue>& fragments) { | 21 const HeapVector<StringOrCSSVariableReferenceValue>& fragments) { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 ListOfCSSVariableReferenceValues); | 56 ListOfCSSVariableReferenceValues); |
| 57 FRIEND_TEST_ALL_PREFIXES(CSSUnparsedValueTest, MixedList); | 57 FRIEND_TEST_ALL_PREFIXES(CSSUnparsedValueTest, MixedList); |
| 58 FRIEND_TEST_ALL_PREFIXES(CSSVariableReferenceValueTest, MixedList); | 58 FRIEND_TEST_ALL_PREFIXES(CSSVariableReferenceValueTest, MixedList); |
| 59 | 59 |
| 60 HeapVector<StringOrCSSVariableReferenceValue> fragments_; | 60 HeapVector<StringOrCSSVariableReferenceValue> fragments_; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace blink | 63 } // namespace blink |
| 64 | 64 |
| 65 #endif // CSSUnparsedValue_h | 65 #endif // CSSUnparsedValue_h |
| OLD | NEW |