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

Side by Side Diff: sky/engine/core/dom/Document.idl

Issue 879733002: Replace createTextNode with new Text(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 12 matching lines...) Expand all
23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
24 24
25 [ 25 [
26 Constructor(), 26 Constructor(),
27 ConstructorCallWith=Document, 27 ConstructorCallWith=Document,
28 ] interface Document : Node { 28 ] interface Document : Node {
29 readonly attribute Element documentElement; 29 readonly attribute Element documentElement;
30 30
31 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString tagName); 31 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString tagName);
32 DocumentFragment createDocumentFragment(); 32 DocumentFragment createDocumentFragment();
33 Text createTextNode(DOMString data);
34 33
35 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor tNode(Node node, optional boolean deep = false); 34 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor tNode(Node node, optional boolean deep = false);
36 35
37 [PerWorldBindings] Element getElementById(DOMString elementId); 36 [PerWorldBindings] Element getElementById(DOMString elementId);
38 37
39 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt Node(Node node); 38 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt Node(Node node);
40 39
41 [RaisesException] Event createEvent(DOMString eventType); 40 [RaisesException] Event createEvent(DOMString eventType);
42 41
43 readonly attribute DOMString? baseURI; 42 readonly attribute DOMString? baseURI;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional Dictionary options); 74 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional Dictionary options);
76 75
77 // Page visibility API. 76 // Page visibility API.
78 readonly attribute DOMString visibilityState; 77 readonly attribute DOMString visibilityState;
79 readonly attribute boolean hidden; 78 readonly attribute boolean hidden;
80 79
81 readonly attribute HTMLScriptElement currentScript; 80 readonly attribute HTMLScriptElement currentScript;
82 }; 81 };
83 82
84 Document implements ParentNode; 83 Document implements ParentNode;
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698