Index: components/font_service/public/interfaces/font_service.mojom |
diff --git a/components/font_service/public/interfaces/font_service.mojom b/components/font_service/public/interfaces/font_service.mojom |
index 3d53b0007f30616b9eadd31754ebc1fce7ac1aef..7b9bc31b4f84956b134f655302c3638ae17cb983 100644 |
--- a/components/font_service/public/interfaces/font_service.mojom |
+++ b/components/font_service/public/interfaces/font_service.mojom |
@@ -4,11 +4,15 @@ |
module font_service; |
-enum TypefaceStyle { |
- NORMAL = 0, |
- BOLD = 0x01, |
- ITALIC = 0x02, |
- BOLD_ITALIC = 0x03 |
+enum TypefaceSlant { |
+ ROMAN = 0, |
+ ITALIC = 1, |
+}; |
+ |
+struct TypefaceStyle { |
+ uint16 weight; |
+ uint8 width; |
+ TypefaceSlant slant; |
}; |
// A reference to specific font on the font service. |