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 CSSURIValue_h | 5 #ifndef CSSURIValue_h |
6 #define CSSURIValue_h | 6 #define CSSURIValue_h |
7 | 7 |
8 #include "core/css/CSSValue.h" | 8 #include "core/css/CSSValue.h" |
9 #include "wtf/PassRefPtr.h" | |
10 #include "wtf/RefCounted.h" | |
11 | 9 |
12 namespace blink { | 10 namespace blink { |
13 | 11 |
14 class CSSURIValue : public CSSValue { | 12 class CSSURIValue : public CSSValue { |
15 public: | 13 public: |
16 static CSSURIValue* create(const String& str) | 14 static CSSURIValue* create(const String& str) |
17 { | 15 { |
18 return new CSSURIValue(str); | 16 return new CSSURIValue(str); |
19 } | 17 } |
20 | 18 |
(...skipping 12 matching lines...) Expand all Loading... |
33 CSSURIValue(const String&); | 31 CSSURIValue(const String&); |
34 | 32 |
35 String m_string; | 33 String m_string; |
36 }; | 34 }; |
37 | 35 |
38 DEFINE_CSS_VALUE_TYPE_CASTS(CSSURIValue, isURIValue()); | 36 DEFINE_CSS_VALUE_TYPE_CASTS(CSSURIValue, isURIValue()); |
39 | 37 |
40 } // namespace blink | 38 } // namespace blink |
41 | 39 |
42 #endif // CSSURIValue_h | 40 #endif // CSSURIValue_h |
OLD | NEW |