OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkFontMgr_indirect_DEFINED | 8 #ifndef SkFontMgr_indirect_DEFINED |
9 #define SkFontMgr_indirect_DEFINED | 9 #define SkFontMgr_indirect_DEFINED |
10 | 10 |
11 #include "SkDataTable.h" | 11 #include "SkDataTable.h" |
12 #include "SkFontMgr.h" | 12 #include "SkFontMgr.h" |
13 #include "SkFontStyle.h" | 13 #include "SkFontStyle.h" |
14 #include "SkOnce.h" | |
15 #include "SkRemotableFontMgr.h" | 14 #include "SkRemotableFontMgr.h" |
16 #include "SkTArray.h" | 15 #include "SkTArray.h" |
17 #include "SkTypeface.h" | 16 #include "SkTypeface.h" |
18 | 17 |
19 class SkData; | 18 class SkData; |
20 class SkStream; | 19 class SkStream; |
21 class SkString; | 20 class SkString; |
22 class SkTypeface; | 21 class SkTypeface; |
23 | 22 |
24 class SK_API SkFontMgr_Indirect : public SkFontMgr { | 23 class SK_API SkFontMgr_Indirect : public SkFontMgr { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 95 |
97 mutable SkAutoTUnref<SkDataTable> fFamilyNames; | 96 mutable SkAutoTUnref<SkDataTable> fFamilyNames; |
98 mutable bool fFamilyNamesInited; | 97 mutable bool fFamilyNamesInited; |
99 mutable SkMutex fFamilyNamesMutex; | 98 mutable SkMutex fFamilyNamesMutex; |
100 static void set_up_family_names(const SkFontMgr_Indirect* self); | 99 static void set_up_family_names(const SkFontMgr_Indirect* self); |
101 | 100 |
102 friend class SkStyleSet_Indirect; | 101 friend class SkStyleSet_Indirect; |
103 }; | 102 }; |
104 | 103 |
105 #endif | 104 #endif |
OLD | NEW |