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

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

Issue 59143004: IDL compiler: Rename [ActivityLogging=Access*] => [ActivityLogging=*] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
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 11 matching lines...) Expand all
22 22
23 [ 23 [
24 SpecialWrapFor=HTMLDocument|SVGDocument 24 SpecialWrapFor=HTMLDocument|SVGDocument
25 ] interface Document : Node { 25 ] interface Document : Node {
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, ActivityLogging=AccessForIsolated Worlds, RaisesException] Element createElement([TreatNullAs=NullString,Default=U ndefined] optional DOMString tagName); 32 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElement([TreatNullAs=NullString,Default=Undefin ed] optional DOMString tagName);
33 DocumentFragment createDocumentFragment(); 33 DocumentFragment createDocumentFragment();
34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin g data); 34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin g data);
35 Comment createComment([Default=Undefined] optional DOMString data); 35 Comment createComment([Default=Undefined] optional DOMString data);
36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4.
37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default =Undefined] optional DOMString target, 37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default =Undefined] optional DOMString target,
38 [Default=Undefined] optional DOMString data); 38 [Default=Undefined] optional DOMString data);
39 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D efault=Undefined] optional DOMString name); // Removed from DOM4. 39 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D efault=Undefined] optional DOMString name); // Removed from DOM4.
40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine d] optional DOMString tagname); 40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine d] optional DOMString tagname);
41 41
42 // Introduced in DOM Level 2: 42 // Introduced in DOM Level 2:
43 43
44 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated Worlds, RaisesException] Node importNode([Default=Undefined] optional Node impor tedNode, 44 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Node importNode([Default=Undefined] optional Node importedNod e,
45 optional boolean deep); 45 optional boolean deep);
46 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated Worlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Default =Undefined] optional DOMString namespaceURI, 46 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElementNS([TreatNullAs=NullString,Default=Undef ined] optional DOMString namespaceURI,
47 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); 47 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
48 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN S([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 48 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN S([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
49 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); // Removed from DOM4. 49 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); // Removed from DOM4.
50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
51 [Default=Undefined] optional DOMString localName); 51 [Default=Undefined] optional DOMString localName);
52 [PerWorldBindings] Element getElementById([Default=Undefined] opt ional DOMString elementId); 52 [PerWorldBindings] Element getElementById([Default=Undefined] opt ional DOMString elementId);
53 53
54 // DOM Level 3 Core 54 // DOM Level 3 Core
55 55
56 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a ttribute DOMString inputEncoding; // Removed from DOM4. 56 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a ttribute DOMString inputEncoding; // Removed from DOM4.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 readonly attribute HTMLHeadElement head; 123 readonly attribute HTMLHeadElement head;
124 readonly attribute HTMLCollection images; 124 readonly attribute HTMLCollection images;
125 readonly attribute HTMLCollection applets; 125 readonly attribute HTMLCollection applets;
126 readonly attribute HTMLCollection links; 126 readonly attribute HTMLCollection links;
127 readonly attribute HTMLCollection forms; 127 readonly attribute HTMLCollection forms;
128 readonly attribute HTMLCollection anchors; 128 readonly attribute HTMLCollection anchors;
129 readonly attribute DOMString lastModified; 129 readonly attribute DOMString lastModified;
130 130
131 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D OMString elementName); 131 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D OMString elementName);
132 132
133 [PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds, PutForwards=href ] readonly attribute Location location; 133 [PerWorldBindings, ActivityLogging=ForIsolatedWorlds, PutForwards=href] read only attribute Location location;
134 134
135 // IE extensions 135 // IE extensions
136 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset; 136 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset;
137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at tribute DOMString defaultCharset; 137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at tribute DOMString defaultCharset;
138 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; 138 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e;
139 139
140 Element elementFromPoint([Default=Undefined] optional long x, 140 Element elementFromPoint([Default=Undefined] optional long x,
141 [Default=Undefined] optional long y); 141 [Default=Undefined] optional long y);
142 Range caretRangeFromPoint([Default=Undefined] optional long x, 142 Range caretRangeFromPoint([Default=Undefined] optional long x,
143 [Default=Undefined] optional long y); 143 [Default=Undefined] optional long y);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 [Default=Undefined] optional long screenX, 197 [Default=Undefined] optional long screenX,
198 [Default=Undefined] optional long screenY, 198 [Default=Undefined] optional long screenY,
199 [Default=Undefined] optional long webkitRadiusX, 199 [Default=Undefined] optional long webkitRadiusX,
200 [Default=Undefined] optional long webkitRadiusY, 200 [Default=Undefined] optional long webkitRadiusY,
201 [Default=Undefined] optional floa t webkitRotationAngle, 201 [Default=Undefined] optional floa t webkitRotationAngle,
202 [Default=Undefined] optional floa t webkitForce); 202 [Default=Undefined] optional floa t webkitForce);
203 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); 203 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);
204 204
205 [DeprecateAs=PrefixedDocumentRegister, RuntimeEnabled=CustomElements, Implem entedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks, RaisesExc eption] CustomElementConstructor webkitRegister(DOMString name, optional Diction ary options); 205 [DeprecateAs=PrefixedDocumentRegister, RuntimeEnabled=CustomElements, Implem entedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks, RaisesExc eption] CustomElementConstructor webkitRegister(DOMString name, optional Diction ary options);
206 [RuntimeEnabled=CustomElements, ImplementedAs=registerElement, CallWith=Scri ptState, CustomElementCallbacks, RaisesException] CustomElementConstructor regis ter(DOMString name, optional Dictionary options); 206 [RuntimeEnabled=CustomElements, ImplementedAs=registerElement, CallWith=Scri ptState, CustomElementCallbacks, RaisesException] CustomElementConstructor regis ter(DOMString name, optional Dictionary options);
207 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated Worlds, RaisesException] Element createElement(DOMString localName, [TreatNullAs =NullString] DOMString typeExtension); 207 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElement(DOMString localName, [TreatNullAs=NullS tring] DOMString typeExtension);
208 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolated Worlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMStr ing namespaceURI, DOMString qualifiedName, 208 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString na mespaceURI, DOMString qualifiedName,
209 [TreatNullAs=NullString] DOMString typeExtension); 209 [TreatNullAs=NullString] DOMString typeExtension);
210 210
211 // Page visibility API. 211 // Page visibility API.
212 readonly attribute DOMString webkitVisibilityState; 212 readonly attribute DOMString webkitVisibilityState;
213 readonly attribute boolean webkitHidden; 213 readonly attribute boolean webkitHidden;
214 214
215 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 215 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces
216 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy; 216 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy;
217 217
218 readonly attribute HTMLScriptElement currentScript; 218 readonly attribute HTMLScriptElement currentScript;
219 }; 219 };
220 220
221 Document implements GlobalEventHandlers; 221 Document implements GlobalEventHandlers;
222 Document implements ParentNode; 222 Document implements ParentNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698