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 CSSCustomIdentValue_h | 5 #ifndef CSSCustomIdentValue_h |
6 #define CSSCustomIdentValue_h | 6 #define CSSCustomIdentValue_h |
7 | 7 |
8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
9 #include "core/css/CSSValue.h" | 9 #include "core/css/CSSValue.h" |
| 10 #include "wtf/text/AtomicString.h" |
10 | 11 |
11 namespace blink { | 12 namespace blink { |
12 | 13 |
13 class CSSCustomIdentValue : public CSSValue { | 14 class CSSCustomIdentValue : public CSSValue { |
14 public: | 15 public: |
15 static CSSCustomIdentValue* create(const AtomicString& str) | 16 static CSSCustomIdentValue* create(const AtomicString& str) |
16 { | 17 { |
17 return new CSSCustomIdentValue(str); | 18 return new CSSCustomIdentValue(str); |
18 } | 19 } |
19 | 20 |
(...skipping 22 matching lines...) Expand all Loading... |
42 | 43 |
43 AtomicString m_string; | 44 AtomicString m_string; |
44 CSSPropertyID m_propertyId; | 45 CSSPropertyID m_propertyId; |
45 }; | 46 }; |
46 | 47 |
47 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCustomIdentValue, isCustomIdentValue()); | 48 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCustomIdentValue, isCustomIdentValue()); |
48 | 49 |
49 } // namespace blink | 50 } // namespace blink |
50 | 51 |
51 #endif // CSSCustomIdentValue_h | 52 #endif // CSSCustomIdentValue_h |
OLD | NEW |