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

Unified Diff: public/platform/linux/WebFallbackFont.h

Issue 326763002: Adding WebFallbackFont and renaming SimpleFontFamily (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing mac build Created 6 years, 6 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/win/FontCacheSkiaWin.cpp ('k') | public/platform/linux/WebFontInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/linux/WebFallbackFont.h
diff --git a/public/platform/linux/WebFontFamily.h b/public/platform/linux/WebFallbackFont.h
similarity index 92%
copy from public/platform/linux/WebFontFamily.h
copy to public/platform/linux/WebFallbackFont.h
index bec7eb47c80386bfa0b5a15e37795451888566ff..654acc2bbe8b7f8514e565fc7de486130790970a 100644
--- a/public/platform/linux/WebFontFamily.h
+++ b/public/platform/linux/WebFallbackFont.h
@@ -28,20 +28,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebFontFamily_h
-#define WebFontFamily_h
+#ifndef WebFallbackFont_h
+#define WebFallbackFont_h
#include "../WebCString.h"
#include "../WebCommon.h"
namespace blink {
-struct WebFontFamily {
+struct WebFallbackFont {
WebCString name;
+ WebCString filename;
+ int ttcIndex;
bool isBold;
bool isItalic;
};
} // namespace blink
-#endif // WebFontFamily_h
+#endif // WebFallbackFont_h
« no previous file with comments | « Source/platform/fonts/win/FontCacheSkiaWin.cpp ('k') | public/platform/linux/WebFontInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698