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

Unified Diff: Source/platform/fonts/SimpleFontData.h

Issue 240003002: Add unit test for GlyphPageTreeNode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/fonts/GlyphPageTreeNodeTest.cpp ('k') | Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/SimpleFontData.h
diff --git a/Source/platform/fonts/SimpleFontData.h b/Source/platform/fonts/SimpleFontData.h
index efdefeabe7645aa196baa6c6980c8f77293e94bc..647e55a8d946230d238bfc14448804c11521d2c8 100644
--- a/Source/platform/fonts/SimpleFontData.h
+++ b/Source/platform/fonts/SimpleFontData.h
@@ -174,11 +174,15 @@ public:
PassRefPtr<CustomFontData> customFontData() const { return m_customFontData; }
-private:
+ // Implemented by the platform.
+ virtual bool fillGlyphPage(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength) const;
+
+protected:
SimpleFontData(const FontPlatformData&, PassRefPtr<CustomFontData> customData, bool isTextOrientationFallback = false);
SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic);
+private:
void platformInit();
void platformGlyphInit();
void platformCharWidthInit();
« no previous file with comments | « Source/platform/fonts/GlyphPageTreeNodeTest.cpp ('k') | Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698