Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: include/ports/SkFontConfigInterface.h

Issue 1945343003: Revert of Modernize SkMutex and SkSemaphore. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkPixelRef.h ('k') | include/private/SkMutex.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 #include "SkDataTable.h" 11 #include "SkDataTable.h"
12 #include "SkFontStyle.h" 12 #include "SkFontStyle.h"
13 #include "SkRefCnt.h" 13 #include "SkRefCnt.h"
14 #include "SkTypeface.h" 14 #include "SkTypeface.h"
15 15
16 struct SkBaseMutex;
16 class SkFontMgr; 17 class SkFontMgr;
17 18
18 /** 19 /**
19 * \class SkFontConfigInterface 20 * \class SkFontConfigInterface
20 * 21 *
21 * A simple interface for remotable font management. 22 * A simple interface for remotable font management.
22 * The global instance can be found with RefGlobal(). 23 * The global instance can be found with RefGlobal().
23 */ 24 */
24 class SK_API SkFontConfigInterface : public SkRefCnt { 25 class SK_API SkFontConfigInterface : public SkRefCnt {
25 public: 26 public:
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // New APIS, which have default impls for now (which do nothing) 115 // New APIS, which have default impls for now (which do nothing)
115 116
116 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); } 117 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); }
117 typedef SkRefCnt INHERITED; 118 typedef SkRefCnt INHERITED;
118 }; 119 };
119 120
120 /** Creates a SkFontMgr which wraps a SkFontConfigInterface. */ 121 /** Creates a SkFontMgr which wraps a SkFontConfigInterface. */
121 SK_API SkFontMgr* SkFontMgr_New_FCI(SkFontConfigInterface* fci); 122 SK_API SkFontMgr* SkFontMgr_New_FCI(SkFontConfigInterface* fci);
122 123
123 #endif 124 #endif
OLDNEW
« no previous file with comments | « include/core/SkPixelRef.h ('k') | include/private/SkMutex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698