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

Unified Diff: css/FontLoader.idl

Issue 12893011: Update idl files in third_party/WebCore (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 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
Index: css/FontLoader.idl
diff --git a/workers/AbstractWorker.idl b/css/FontLoader.idl
similarity index 76%
copy from workers/AbstractWorker.idl
copy to css/FontLoader.idl
index 643fa958e645280730cc3fb1fd7f0643709885fa..3b1f8a24a69d82a3ec11577b5115970fa344b281 100644
--- a/workers/AbstractWorker.idl
+++ b/css/FontLoader.idl
@@ -1,6 +1,5 @@
/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
- * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -30,14 +29,24 @@
*/
[
- Conditional=WORKERS,
+ Conditional=FONT_LOAD_EVENTS,
+ V8EnabledAtRuntime=fontLoadEvents,
ActiveDOMObject,
- JSCustomToJSObject,
- EventTarget
-] interface AbstractWorker {
+ EventTarget,
+ GenerateIsReachable=ImplDocument,
+] interface FontLoader {
+ attribute EventListener onloading;
Anton Muhin 2013/03/22 12:04:27 do we have proper bindings for those automatically
Mads Ager (google) 2013/03/22 13:21:08 I havn't seen anything break because of this and I
+ attribute EventListener onloadingdone;
+ attribute EventListener onloadstart;
+ attribute EventListener onload;
attribute EventListener onerror;
+ boolean checkFont(in DOMString font, in [Optional=DefaultIsNullString] DOMString text);
+ void loadFont(in Dictionary params);
+ void notifyWhenFontsReady(in [Callback] VoidCallback callback);
+ readonly attribute boolean loading;
+
void addEventListener(in DOMString type,
in EventListener listener,
in [Optional] boolean useCapture);
@@ -47,4 +56,3 @@
boolean dispatchEvent(in Event evt)
raises(EventException);
};
-

Powered by Google App Engine
This is Rietveld 408576698