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

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

Issue 557763003: Add iterator support to FontFaceSet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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') | no next file » | 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 31ae4fc8d0cc9d2c446b0967cc8dbe1a3f4a72ee..526b7e1d0d0fc677e857f5c90c75d2e4826bbb37 100644
--- a/Source/core/css/FontFaceSet.idl
+++ b/Source/core/css/FontFaceSet.idl
@@ -32,6 +32,7 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
[
ActiveDOMObject,
+ Iterable,
SetWrapperReferenceFrom=document,
NoInterfaceObject,
] interface FontFaceSet : EventTarget {
@@ -49,6 +50,9 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
[RaisesException, ImplementedAs=remove] boolean delete(FontFace fontFace);
void forEach(FontFaceSetForEachCallback callback, optional any thisArg);
[RaisesException] boolean has(FontFace fontFace);
+ Iterator keys();
+ Iterator values();
+ Iterator entries();
readonly attribute unsigned long size;
readonly attribute FontFaceSetLoadStatus status;
« no previous file with comments | « Source/core/css/FontFaceSet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698