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

Side by Side Diff: Source/core/dom/Document.idl

Issue 737133002: Make arguments to some Document and Element methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase+adapt Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/wrapper-classes-expected.txt ('k') | Source/core/dom/Element.idl » ('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 15 matching lines...) Expand all
26 26
27 // DOM Level 1 Core 27 // DOM Level 1 Core
28 readonly attribute DocumentType doctype; 28 readonly attribute DocumentType doctype;
29 readonly attribute DOMImplementation implementation; 29 readonly attribute DOMImplementation implementation;
30 readonly attribute Element documentElement; 30 readonly attribute Element documentElement;
31 31
32 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString tagName); 32 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString tagName);
33 DocumentFragment createDocumentFragment(); 33 DocumentFragment createDocumentFragment();
34 Text createTextNode(DOMString data); 34 Text createTextNode(DOMString data);
35 Comment createComment(DOMString data); 35 Comment createComment(DOMString data);
36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); // Removed from DOM4.
37 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin g target, DOMString data); 37 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin g target, DOMString data);
38 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D efault=Undefined] optional DOMString name); 38 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DO MString name);
39 HTMLCollection getElementsByTagName(DOMString localName); 39 HTMLCollection getElementsByTagName(DOMString localName);
40 40
41 // Introduced in DOM Level 2: 41 // Introduced in DOM Level 2:
42 42
43 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor tNode(Node node, optional boolean deep = false); 43 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor tNode(Node node, optional boolean deep = false);
44 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName); 44 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName);
45 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN S([Default=Undefined] optional DOMString? namespaceURI, 45 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN S(DOMString? namespaceURI, DOMString? qualifiedName);
46 [Default=Undefined] optional DOMString? qualifiedName);
47 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName); 46 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName);
48 [PerWorldBindings] Element getElementById(DOMString elementId); 47 [PerWorldBindings] Element getElementById(DOMString elementId);
49 48
50 // DOM Level 3 Core 49 // DOM Level 3 Core
51 50
52 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin g; // Removed from DOM4. 51 [MeasureAs=DocumentInputEncoding] readonly attribute DOMString? inputEncodin g; // Removed from DOM4.
53 52
54 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; / / Removed from DOM4. 53 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; / / Removed from DOM4.
55 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; // Removed from DOM4. 54 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; // Removed from DOM4.
56 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; // Removed from DOM4. 55 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; // Removed from DOM4.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting 207 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting
209 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 208 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
211 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
212 211
213 readonly attribute HTMLScriptElement currentScript; 212 readonly attribute HTMLScriptElement currentScript;
214 }; 213 };
215 214
216 Document implements GlobalEventHandlers; 215 Document implements GlobalEventHandlers;
217 Document implements ParentNode; 216 Document implements ParentNode;
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/wrapper-classes-expected.txt ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698