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

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

Issue 332973002: Remove [PerWorldBindings] from not performance-sensitive methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 SpecialWrapFor=HTMLDocument|XMLDocument 26 SpecialWrapFor=HTMLDocument|XMLDocument
27 ] interface Document : Node { 27 ] interface Document : Node {
28 28
29 // DOM Level 1 Core 29 // DOM Level 1 Core
30 readonly attribute DocumentType doctype; 30 readonly attribute DocumentType doctype;
31 readonly attribute DOMImplementation implementation; 31 readonly attribute DOMImplementation implementation;
32 readonly attribute Element documentElement; 32 readonly attribute Element documentElement;
33 33
34 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele ment createElement(DOMString tagName); 34 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele ment createElement(DOMString tagName);
35 DocumentFragment createDocumentFragment(); 35 DocumentFragment createDocumentFragment();
36 [PerWorldBindings] Text createTextNode(DOMString data); 36 Text createTextNode(DOMString data);
37 Comment createComment(DOMString data); 37 Comment createComment(DOMString data);
38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. 38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4.
39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin g target, DOMString data); 39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin g target, DOMString data);
40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D efault=Undefined] optional DOMString name); // Removed from DOM4. 40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D efault=Undefined] optional DOMString name); // Removed from DOM4.
41 [PerWorldBindings] HTMLCollection getElementsByTagName(DOMString localName); 41 HTMLCollection getElementsByTagName(DOMString localName);
42 42
43 // Introduced in DOM Level 2: 43 // Introduced in DOM Level 2:
44 44
45 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Nod e importNode(Node node, optional boolean deep); 45 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Nod e importNode(Node node, optional boolean deep);
46 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele ment createElementNS([TreatNullAs=NullString] DOMString namespaceURI, DOMString qualifiedName); 46 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele ment createElementNS([TreatNullAs=NullString] DOMString namespaceURI, DOMString qualifiedName);
47 [RaisesException, DeprecateAs=DocumentCreateAttributeNS] Attr createAttribut eNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 47 [RaisesException, DeprecateAs=DocumentCreateAttributeNS] Attr createAttribut eNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
48 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); // Removed from DOM4. 48 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); // Removed from DOM4.
49 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam espaceURI, DOMString localName); 49 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam espaceURI, DOMString localName);
50 [PerWorldBindings] Element getElementById(DOMString elementId); 50 [PerWorldBindings] Element getElementById(DOMString elementId);
51 51
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 218 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
220 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 220 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
221 221
222 readonly attribute HTMLScriptElement currentScript; 222 readonly attribute HTMLScriptElement currentScript;
223 }; 223 };
224 224
225 Document implements GlobalEventHandlers; 225 Document implements GlobalEventHandlers;
226 Document implements ParentNode; 226 Document implements ParentNode;
227 227
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698