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

Unified Diff: include/ports/SkFontMgr.h

Issue 1438113002: Factor CSS3 matching rules. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Tests can use C++11. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkFontMgr.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/ports/SkFontMgr.h
diff --git a/include/ports/SkFontMgr.h b/include/ports/SkFontMgr.h
index cdf72646ab1abf84ab0c00ad88bb9c6ea7482f5e..8d57986a13233015c843c4e172adbcbf1680a458 100644
--- a/include/ports/SkFontMgr.h
+++ b/include/ports/SkFontMgr.h
@@ -19,8 +19,6 @@ class SkTypeface;
class SK_API SkFontStyleSet : public SkRefCnt {
public:
-
-
virtual int count() = 0;
virtual void getStyle(int index, SkFontStyle*, SkString* style) = 0;
virtual SkTypeface* createTypeface(int index) = 0;
@@ -28,16 +26,15 @@ public:
static SkFontStyleSet* CreateEmpty();
+protected:
+ SkTypeface* matchStyleCSS3(const SkFontStyle& pattern);
+
private:
typedef SkRefCnt INHERITED;
};
-class SkTypeface;
-
class SK_API SkFontMgr : public SkRefCnt {
public:
-
-
int countFamilies() const;
void getFamilyName(int index, SkString* familyName) const;
SkFontStyleSet* createStyleSet(int index) const;
« no previous file with comments | « no previous file | src/core/SkFontMgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698