OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkFontConfigInterface_DEFINED | 8 #ifndef SkFontConfigInterface_DEFINED |
9 #define SkFontConfigInterface_DEFINED | 9 #define SkFontConfigInterface_DEFINED |
10 | 10 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 static SkFontConfigInterface* GetSingletonDirectInterface(); | 99 static SkFontConfigInterface* GetSingletonDirectInterface(); |
100 | 100 |
101 // New APIS, which have default impls for now (which do nothing) | 101 // New APIS, which have default impls for now (which do nothing) |
102 | 102 |
103 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); } | 103 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); } |
104 virtual bool matchFamilySet(const char inFamilyName[], | 104 virtual bool matchFamilySet(const char inFamilyName[], |
105 SkString* outFamilyName, | 105 SkString* outFamilyName, |
106 SkTArray<FontIdentity>*) { | 106 SkTArray<FontIdentity>*) { |
107 return false; | 107 return false; |
108 } | 108 } |
| 109 typedef SkRefCnt INHERITED; |
109 }; | 110 }; |
110 | 111 |
111 #endif | 112 #endif |
OLD | NEW |