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

Unified Diff: sky/engine/core/dom/Document.idl

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.idl
diff --git a/sky/engine/core/dom/Document.idl b/sky/engine/core/dom/Document.idl
index 525e3164fbe9e3a708286e8d5c45f21f9b966410..a765e19e7ad0c206c4c0e65c7c463b7fac89c267 100644
--- a/sky/engine/core/dom/Document.idl
+++ b/sky/engine/core/dom/Document.idl
@@ -28,12 +28,12 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
] interface Document : Node {
readonly attribute Element documentElement;
- [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createElement(DOMString tagName);
+ [CustomElementCallbacks, RaisesException] Element createElement(DOMString tagName);
DocumentFragment createDocumentFragment();
[CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node importNode(Node node, optional boolean deep = false);
- [PerWorldBindings] Element getElementById(DOMString elementId);
+ Element getElementById(DOMString elementId);
[RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adoptNode(Node node);
@@ -56,7 +56,6 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
Element elementFromPoint([Default=Undefined] optional long x,
[Default=Undefined] optional long y);
- [MeasureAs=DocumentCaretRangeFromPoint]
Range caretRangeFromPoint([Default=Undefined] optional long x,
[Default=Undefined] optional long y);
@@ -67,7 +66,8 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
readonly attribute Element activeElement;
boolean hasFocus();
- [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=DocumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional Dictionary options);
+ // FIXME(Dictionary): options
+ // [CallWith=ScriptState, CustomElementCallbacks, RaisesException] CustomElementConstructor registerElement(DOMString name);
// Page visibility API.
readonly attribute DOMString visibilityState;
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698