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

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

Issue 2232963002: Remove no longer existing friend. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | 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 SkFontMgr_DEFINED 8 #ifndef SkFontMgr_DEFINED
9 #define SkFontMgr_DEFINED 9 #define SkFontMgr_DEFINED
10 10
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 virtual SkTypeface* onCreateFromStream(SkStreamAsset*, int ttcIndex) const = 0; 192 virtual SkTypeface* onCreateFromStream(SkStreamAsset*, int ttcIndex) const = 0;
193 // TODO: make pure virtual. 193 // TODO: make pure virtual.
194 virtual SkTypeface* onCreateFromStream(SkStreamAsset*, const FontParameters& ) const; 194 virtual SkTypeface* onCreateFromStream(SkStreamAsset*, const FontParameters& ) const;
195 virtual SkTypeface* onCreateFromFontData(SkFontData*) const; 195 virtual SkTypeface* onCreateFromFontData(SkFontData*) const;
196 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const = 0; 196 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const = 0;
197 197
198 virtual SkTypeface* onLegacyCreateTypeface(const char familyName[], SkFontSt yle) const = 0; 198 virtual SkTypeface* onLegacyCreateTypeface(const char familyName[], SkFontSt yle) const = 0;
199 199
200 private: 200 private:
201 static SkFontMgr* Factory(); // implemented by porting layer 201 static SkFontMgr* Factory(); // implemented by porting layer
202 friend SkFontMgr* sk_fontmgr_create_default();
203 202
204 typedef SkRefCnt INHERITED; 203 typedef SkRefCnt INHERITED;
205 }; 204 };
206 205
207 #endif 206 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698