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

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

Issue 117313008: Update Custom Elements API to new names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for forgotten tests. Created 7 years 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 | « Source/bindings/v8/V8HiddenPropertyName.h ('k') | Source/core/dom/custom/CustomElement.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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 [Default=Undefined] optional long pageX, 187 [Default=Undefined] optional long pageX,
188 [Default=Undefined] optional long pageY, 188 [Default=Undefined] optional long pageY,
189 [Default=Undefined] optional long screenX, 189 [Default=Undefined] optional long screenX,
190 [Default=Undefined] optional long screenY, 190 [Default=Undefined] optional long screenY,
191 [Default=Undefined] optional long webkitRadiusX, 191 [Default=Undefined] optional long webkitRadiusX,
192 [Default=Undefined] optional long webkitRadiusY, 192 [Default=Undefined] optional long webkitRadiusY,
193 [Default=Undefined] optional floa t webkitRotationAngle, 193 [Default=Undefined] optional floa t webkitRotationAngle,
194 [Default=Undefined] optional floa t webkitForce); 194 [Default=Undefined] optional floa t webkitForce);
195 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); 195 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);
196 196
197 [DeprecateAs=PrefixedDocumentRegister, RuntimeEnabled=CustomElements, Implem entedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks, RaisesExc eption] CustomElementConstructor webkitRegister(DOMString name, optional Diction ary options); 197 [RuntimeEnabled=CustomElements, CallWith=ScriptState, CustomElementCallbacks , RaisesException] CustomElementConstructor registerElement(DOMString name, opti onal Dictionary options);
198 [RuntimeEnabled=CustomElements, ImplementedAs=registerElement, CallWith=Scri ptState, CustomElementCallbacks, RaisesException] CustomElementConstructor regis ter(DOMString name, optional Dictionary options);
199 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElement(DOMString localName, [TreatNullAs=NullS tring] DOMString typeExtension); 198 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElement(DOMString localName, [TreatNullAs=NullS tring] DOMString typeExtension);
200 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString na mespaceURI, DOMString qualifiedName, 199 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds , RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString na mespaceURI, DOMString qualifiedName,
201 [TreatNullAs=NullString] DOMString typeExtension); 200 [TreatNullAs=NullString] DOMString typeExtension);
202 201
203 // Page visibility API. 202 // Page visibility API.
204 readonly attribute DOMString visibilityState; 203 readonly attribute DOMString visibilityState;
205 readonly attribute boolean hidden; 204 readonly attribute boolean hidden;
206 205
207 // Deprecated prefixed page visibility API. 206 // Deprecated prefixed page visibility API.
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 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 212 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces
214 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy; 213 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy;
215 214
216 readonly attribute HTMLScriptElement currentScript; 215 readonly attribute HTMLScriptElement currentScript;
217 }; 216 };
218 217
219 Document implements GlobalEventHandlers; 218 Document implements GlobalEventHandlers;
220 Document implements ParentNode; 219 Document implements ParentNode;
OLDNEW
« no previous file with comments | « Source/bindings/v8/V8HiddenPropertyName.h ('k') | Source/core/dom/custom/CustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698