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

Unified Diff: third_party/WebKit/Source/core/css/LocalFontFace.idl

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: Addressing Nasko. Created 4 years, 10 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: third_party/WebKit/Source/core/css/LocalFontFace.idl
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl b/third_party/WebKit/Source/core/css/LocalFontFace.idl
similarity index 81%
copy from third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl
copy to third_party/WebKit/Source/core/css/LocalFontFace.idl
index 80f50321c43a5b43172978b5ad58ec7bfcf60339..d0c666779fbf54bc66d46b3fe2903f5f2d68f84c 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl
+++ b/third_party/WebKit/Source/core/css/LocalFontFace.idl
@@ -1,6 +1,5 @@
/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
- * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2016 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -30,10 +29,12 @@
*/
[
- NoInterfaceObject,
ActiveDOMObject,
- GarbageCollected,
-] interface DOMFileSystem {
- readonly attribute DOMString name;
- readonly attribute DirectoryEntry root;
+ WillBeGarbageCollected,
+ RuntimeEnabled=FontAccess,
+ APIExperimentEnabled=FontAccess
+] interface LocalFontFace : FontFace {
+ readonly attribute DOMString styleName;
+ readonly attribute DOMString fullName;
+ [CallWith=ScriptState] readonly attribute Promise binaryData;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/LocalFontFace.cpp ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698