| 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 CSSStyleVariableReferenceValue_h | 5 #ifndef CSSStyleVariableReferenceValue_h |
| 6 #define CSSStyleVariableReferenceValue_h | 6 #define CSSStyleVariableReferenceValue_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 10 #include "core/css/cssom/CSSUnparsedValue.h" | 9 #include "core/css/cssom/CSSUnparsedValue.h" |
| 10 #include "platform/bindings/ScriptWrappable.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CORE_EXPORT CSSStyleVariableReferenceValue final | 14 class CORE_EXPORT CSSStyleVariableReferenceValue final |
| 15 : public GarbageCollectedFinalized<CSSStyleVariableReferenceValue>, | 15 : public GarbageCollectedFinalized<CSSStyleVariableReferenceValue>, |
| 16 public ScriptWrappable { | 16 public ScriptWrappable { |
| 17 WTF_MAKE_NONCOPYABLE(CSSStyleVariableReferenceValue); | 17 WTF_MAKE_NONCOPYABLE(CSSStyleVariableReferenceValue); |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 | 19 |
| 20 public: | 20 public: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 const CSSUnparsedValue* fallback) | 39 const CSSUnparsedValue* fallback) |
| 40 : variable_(variable), fallback_(fallback) {} | 40 : variable_(variable), fallback_(fallback) {} |
| 41 | 41 |
| 42 String variable_; | 42 String variable_; |
| 43 Member<const CSSUnparsedValue> fallback_; | 43 Member<const CSSUnparsedValue> fallback_; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // CSSStyleVariableReference_h | 48 #endif // CSSStyleVariableReference_h |
| OLD | NEW |