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

Unified Diff: content/common/font_access/font_description.mojom

Issue 1615133002: Implement API for accessing fonts installed locally on the system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add file reading failure checking. Created 4 years, 11 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: content/common/font_access/font_description.mojom
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl b/content/common/font_access/font_description.mojom
similarity index 64%
copy from third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl
copy to content/common/font_access/font_description.mojom
index 2f54dd070457f714e7993b0ad361f50c7802e537..b03d5f27d7f92ab41c497da2d3ac1ceb8f726154 100644
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl
+++ b/content/common/font_access/font_description.mojom
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-dictionary ImageBitmapOptions {
- boolean premuiltiplyAlpha;
+module content;
+
+struct FontDescription {
+ string family;
+ string style;
+ string fullName;
};

Powered by Google App Engine
This is Rietveld 408576698