Index: dom/Document.idl |
diff --git a/dom/Document.idl b/dom/Document.idl |
index 4d4e9fb49526a88511a8c742f1bb64740b7391ac..a4f053c90162c4cd1017fa6e56471d7ed33a3f83 100644 |
--- a/dom/Document.idl |
+++ b/dom/Document.idl |
@@ -262,6 +262,10 @@ |
[Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] DOMNamedFlowCollection webkitGetNamedFlows(); |
+#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
+ [Conditional=FONT_LOAD_EVENTS, V8EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader; |
+#endif |
+ |
#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
// Event handler DOM attributes |
[NotEnumerable] attribute EventListener onabort; |
@@ -356,6 +360,14 @@ |
raises (DOMException); |
#endif |
+#if defined(ENABLE_CUSTOM_ELEMENTS) && ENABLE_CUSTOM_ELEMENTS |
+ [V8EnabledAtRuntime=customDOMElements, Conditional=CUSTOM_ELEMENTS, ImplementedAs=registerElement, CallWith=ScriptState] |
+ CustomElementConstructor webkitRegister(in DOMString name, in [Optional] Dictionary options) raises(DOMException); |
+ [ReturnNewObject] Element createElement(in DOMString localName, in [TreatNullAs=NullString] DOMString typeExtension) raises (DOMException); |
+ [ReturnNewObject] Element createElementNS(in [TreatNullAs=NullString] DOMString namespaceURI, in DOMString qualifiedName, |
+ in [TreatNullAs=NullString] DOMString typeExtension) raises (DOMException); |
+#endif |
+ |
#if defined(LANGUAGE_CPP) && LANGUAGE_CPP |
// Extra WebCore methods exposed to allow compile-time casting in C++ |
boolean isHTMLDocument(); |