| 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 CSSFontFamilyValue_h | 5 #ifndef CSSFontFamilyValue_h |
| 6 #define CSSFontFamilyValue_h | 6 #define CSSFontFamilyValue_h |
| 7 | 7 |
| 8 #include "core/css/CSSValue.h" | 8 #include "core/css/CSSValue.h" |
| 9 #include "wtf/text/WTFString.h" | 9 #include "platform/wtf/text/WTFString.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class CSSFontFamilyValue : public CSSValue { | 13 class CSSFontFamilyValue : public CSSValue { |
| 14 public: | 14 public: |
| 15 static CSSFontFamilyValue* Create(const String& family_name); | 15 static CSSFontFamilyValue* Create(const String& family_name); |
| 16 | 16 |
| 17 String Value() const { return string_; } | 17 String Value() const { return string_; } |
| 18 | 18 |
| 19 String CustomCSSText() const; | 19 String CustomCSSText() const; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // TODO(sashab): Change this to an AtomicString. | 32 // TODO(sashab): Change this to an AtomicString. |
| 33 String string_; | 33 String string_; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontFamilyValue, IsFontFamilyValue()); | 36 DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontFamilyValue, IsFontFamilyValue()); |
| 37 | 37 |
| 38 } // namespace blink | 38 } // namespace blink |
| 39 | 39 |
| 40 #endif // CSSFontFamilyValue_h | 40 #endif // CSSFontFamilyValue_h |
| OLD | NEW |