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

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

Issue 726923002: Enable unused param checking for public includes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 1 month 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/gpu/GrContext.h ('k') | include/utils/SkCamera.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
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 * Return a singleton instance of a direct subclass that calls into 98 * Return a singleton instance of a direct subclass that calls into
99 * libfontconfig. This does not affect the refcnt of the returned instance. 99 * libfontconfig. This does not affect the refcnt of the returned instance.
100 * The mutex may be used to guarantee the singleton is only constructed onc e. 100 * The mutex may be used to guarantee the singleton is only constructed onc e.
101 */ 101 */
102 static SkFontConfigInterface* GetSingletonDirectInterface 102 static SkFontConfigInterface* GetSingletonDirectInterface
103 (SkBaseMutex* mutex = NULL); 103 (SkBaseMutex* mutex = NULL);
104 104
105 // New APIS, which have default impls for now (which do nothing) 105 // New APIS, which have default impls for now (which do nothing)
106 106
107 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); } 107 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); }
108 virtual bool matchFamilySet(const char inFamilyName[], 108 virtual bool matchFamilySet(const char[] /*inFamilyName*/,
109 SkString* outFamilyName, 109 SkString* /*outFamilyName*/,
110 SkTArray<FontIdentity>*) { 110 SkTArray<FontIdentity>*) {
111 return false; 111 return false;
112 } 112 }
113 typedef SkRefCnt INHERITED; 113 typedef SkRefCnt INHERITED;
114 }; 114 };
115 115
116 #endif 116 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | include/utils/SkCamera.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698