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 FontSettings_h | 5 #ifndef FontSettings_h |
6 #define FontSettings_h | 6 #define FontSettings_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
10 #include "wtf/PassRefPtr.h" | 10 #include "wtf/PassRefPtr.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 class PLATFORM_EXPORT FontVariationSettings | 74 class PLATFORM_EXPORT FontVariationSettings |
75 : public FontSettings<FontVariationAxis>, | 75 : public FontSettings<FontVariationAxis>, |
76 public RefCounted<FontVariationSettings> { | 76 public RefCounted<FontVariationSettings> { |
77 WTF_MAKE_NONCOPYABLE(FontVariationSettings); | 77 WTF_MAKE_NONCOPYABLE(FontVariationSettings); |
78 | 78 |
79 public: | 79 public: |
80 static PassRefPtr<FontVariationSettings> create() { | 80 static PassRefPtr<FontVariationSettings> create() { |
81 return adoptRef(new FontVariationSettings()); | 81 return adoptRef(new FontVariationSettings()); |
82 } | 82 } |
83 | 83 |
| 84 unsigned hash() const; |
| 85 |
84 private: | 86 private: |
85 FontVariationSettings() = default; | 87 FontVariationSettings() = default; |
86 }; | 88 }; |
87 | 89 |
88 } // namespace blink | 90 } // namespace blink |
89 | 91 |
90 #endif // FontSettings_h | 92 #endif // FontSettings_h |
OLD | NEW |