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

Unified Diff: core/css/FontFaceSet.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 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 643c335b562458e8ebea329064a7ef0cb6c0f0c5..7f5b6ced0be962467e4aa543e821c4c99e2e6dd3 100644
--- a/core/css/FontFaceSet.idl
+++ b/core/css/FontFaceSet.idl
@@ -32,7 +32,7 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
[
ActiveDOMObject,
- GenerateVisitDOMWrapper=document,
+ SetWrapperReferenceFrom=document,
NoInterfaceObject,
RuntimeEnabled=FontLoadEvents,
] interface FontFaceSet : EventTarget {
@@ -41,10 +41,16 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
attribute EventHandler onloadingdone;
attribute EventHandler onloadingerror;
- [RaisesException] sequence<FontFace> match(DOMString font, [Default=NullString] optional DOMString text);
[RaisesException] boolean check(DOMString font, [Default=NullString] optional DOMString text);
[RaisesException] Promise load(DOMString font, [Default=NullString] optional DOMString text);
Promise ready();
+ [RaisesException] void add(FontFace fontFace);
+ void clear();
+ [RaisesException, ImplementedAs=remove] boolean delete(FontFace fontFace);
+ void forEach(FontFaceSetForEachCallback callback, optional any thisArg);
+ [RaisesException] boolean has(FontFace fontFace);
+
+ readonly attribute unsigned long size;
readonly attribute FontFaceSetLoadStatus status;
};
« 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