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..acbbafa7a93716c61d4af9a351be6d345b7476c4 100644 |
--- a/components/font_service/public/interfaces/font_service.mojom |
+++ b/components/font_service/public/interfaces/font_service.mojom |
@@ -4,11 +4,14 @@ |
module font_service; |
-enum TypefaceStyle { |
- NORMAL = 0, |
- BOLD = 0x01, |
- ITALIC = 0x02, |
- BOLD_ITALIC = 0x03 |
+enum TypefaceSlant { |
+ ROMAN = 0, |
+ ITALIC = 1, |
+}; |
+struct TypefaceStyle { |
Elliot Glaysher
2016/04/11 18:04:41
one line of whitespace between the enum and the st
bungeman-chromium
2016/04/11 18:29:22
Done.
|
+ uint16 weight; |
+ uint8 width; |
+ TypefaceSlant slant; |
}; |
// A reference to specific font on the font service. |