OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CSSStyleValue_h | 5 #ifndef CSSStyleValue_h |
6 #define CSSStyleValue_h | 6 #define CSSStyleValue_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "core/CSSPropertyNames.h" | 9 #include "core/CSSPropertyNames.h" |
10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
11 #include "core/css/CSSValue.h" | 11 #include "core/css/CSSValue.h" |
12 #include "wtf/text/WTFString.h" | 12 #include "wtf/text/WTFString.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
| 15 namespace cssom { |
15 | 16 |
16 class ExceptionState; | 17 class ExceptionState; |
17 class ScriptState; | 18 class ScriptState; |
18 class ScriptValue; | 19 class ScriptValue; |
19 | 20 |
20 class CORE_EXPORT CSSStyleValue : public GarbageCollectedFinalized<CSSStyleValue
>, public ScriptWrappable { | 21 class CORE_EXPORT CSSStyleValue : public GarbageCollectedFinalized<CSSStyleValue
>, public ScriptWrappable { |
21 WTF_MAKE_NONCOPYABLE(CSSStyleValue); | 22 WTF_MAKE_NONCOPYABLE(CSSStyleValue); |
22 DEFINE_WRAPPERTYPEINFO(); | 23 DEFINE_WRAPPERTYPEINFO(); |
23 public: | 24 public: |
24 enum StyleValueType { | 25 enum StyleValueType { |
(...skipping 28 matching lines...) Expand all Loading... |
53 } | 54 } |
54 | 55 |
55 DEFINE_INLINE_VIRTUAL_TRACE() { } | 56 DEFINE_INLINE_VIRTUAL_TRACE() { } |
56 | 57 |
57 protected: | 58 protected: |
58 CSSStyleValue() {} | 59 CSSStyleValue() {} |
59 }; | 60 }; |
60 | 61 |
61 typedef HeapVector<Member<CSSStyleValue>> CSSStyleValueVector; | 62 typedef HeapVector<Member<CSSStyleValue>> CSSStyleValueVector; |
62 | 63 |
| 64 } // namespace cssom |
63 } // namespace blink | 65 } // namespace blink |
64 | 66 |
| 67 |
65 #endif | 68 #endif |
OLD | NEW |