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

Unified Diff: components/font_service/public/interfaces/font_service.mojom

Issue 1877673002: Move legacyCreateTypeface to SkFontStyle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, update Skia change. Created 4 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
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.
« no previous file with comments | « components/font_service/public/cpp/font_service_thread.cc ('k') | content/browser/renderer_host/sandbox_ipc_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698