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

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

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. Created 4 years 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/FontFaceSet.idl
diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.idl b/third_party/WebKit/Source/core/css/FontFaceSet.idl
index 573f4bc940c2d41dc93c80cf6ed468fb74ab5dd5..e8328d82e1b868898eb633ea90dee348d744cff1 100644
--- a/third_party/WebKit/Source/core/css/FontFaceSet.idl
+++ b/third_party/WebKit/Source/core/css/FontFaceSet.idl
@@ -40,24 +40,24 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
NoInterfaceObject,
] interface FontFaceSet : EventTarget {
setlike<FontFace>;
- readonly attribute unsigned long size;
+ [MeasureAs=FontFaceSetAPI] readonly attribute unsigned long size;
// events for when loading state changes
- attribute EventHandler onloading;
- attribute EventHandler onloadingdone;
- attribute EventHandler onloadingerror;
+ [MeasureAs=FontFaceSetAPI] attribute EventHandler onloading;
+ [MeasureAs=FontFaceSetAPI] attribute EventHandler onloadingdone;
+ [MeasureAs=FontFaceSetAPI] attribute EventHandler onloadingerror;
// check and start loads if appropriate
// and fulfill promise when all loads complete
- [CallWith=ScriptState] Promise<sequence<FontFace>> load(DOMString font, optional DOMString text = " ");
+ [CallWith=ScriptState, MeasureAs=FontFaceSetAPI] Promise<sequence<FontFace>> load(DOMString font, optional DOMString text = " ");
// return whether all fonts in the fontlist are loaded
// (does not initiate load if not available)
- [RaisesException] boolean check(DOMString font, optional DOMString text = " ");
+ [RaisesException, MeasureAs=FontFaceSetAPI] boolean check(DOMString font, optional DOMString text = " ");
// async notification that font loading and layout operations are done
- [CallWith=ScriptState] readonly attribute Promise<FontFaceSet> ready;
+ [CallWith=ScriptState, MeasureAs=FontFaceSetAPI] readonly attribute Promise<FontFaceSet> ready;
// loading state, "loading" while one or more fonts loading, "loaded" otherwise
- readonly attribute FontFaceSetLoadStatus status;
+ [MeasureAs=FontFaceSetAPI] readonly attribute FontFaceSetLoadStatus status;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.idl ('k') | third_party/WebKit/Source/core/css/FontFaceSetLoadEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698