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

Unified Diff: Source/core/css/FontFaceSet.idl

Issue 137253005: [Font Load Events] Partial implementation of SetClass operations for FontFaceSet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix callback arguments Created 6 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
« no previous file with comments | « Source/core/css/FontFaceSet.cpp ('k') | Source/core/css/FontFaceSetForEachCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/FontFaceSet.idl
diff --git a/Source/core/css/FontFaceSet.idl b/Source/core/css/FontFaceSet.idl
index 643c335b562458e8ebea329064a7ef0cb6c0f0c5..1dc2b877955b858a8d312ab3d2840ec5ca3b69c0 100644
--- a/Source/core/css/FontFaceSet.idl
+++ b/Source/core/css/FontFaceSet.idl
@@ -46,5 +46,13 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
[RaisesException] Promise load(DOMString font, [Default=NullString] optional DOMString text);
Promise ready();
+ void forEach(FontFaceSetForEachCallback callback, optional any thisArg);
+ [RaisesException] boolean has(FontFace fontFace);
+ // FIXME: implement them
+ // void add(FontFace fontFace);
+ // void clear();
+ // boolean delete(FontFace fontFace);
+
+ readonly attribute unsigned long size;
readonly attribute FontFaceSetLoadStatus status;
};
« no previous file with comments | « Source/core/css/FontFaceSet.cpp ('k') | Source/core/css/FontFaceSetForEachCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698