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

Unified Diff: core/css/FontFaceSet.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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 | « core/css/FontFace.idl ('k') | core/css/FontFaceSetForEachCallback.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/css/FontFaceSet.idl
diff --git a/core/css/FontFaceSet.idl b/core/css/FontFaceSet.idl
index 50525e52f7b144de4d347bc4a3ab92f7f084668c..9f7480e75a05f1171a49ab6f21bfeae33d220468 100644
--- a/core/css/FontFaceSet.idl
+++ b/core/css/FontFaceSet.idl
@@ -35,19 +35,12 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
// TODO(philipj): This interface should be [Exposed=Window,Worker] and should
// have a constructor, and thus not have [NoInterfaceObject].
[
- ActiveDOMObject,
+ DependentLifetime,
SetWrapperReferenceFrom=document,
NoInterfaceObject,
] interface FontFaceSet : EventTarget {
- // TODO(ksakamoto): Make FontFaceSet Set-like. crbug.com/392075
- // setlike<FontFace>;
- void forEach(FontFaceSetForEachCallback callback, optional any thisArg);
- [RaisesException] boolean has(FontFace fontFace);
+ setlike<FontFace>;
readonly attribute unsigned long size;
- // TODO(philipj): add() should return the FontFaceSet.
- [RaisesException] void add(FontFace fontFace);
- [RaisesException, ImplementedAs=remove] boolean delete(FontFace fontFace);
- void clear();
// events for when loading state changes
attribute EventHandler onloading;
« no previous file with comments | « core/css/FontFace.idl ('k') | core/css/FontFaceSetForEachCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698