OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 [ | 27 [ |
28 DoNotCheckConstants, | 28 DoNotCheckConstants, |
29 GarbageCollected, | 29 GarbageCollected, |
30 TypeChecking=Interface, | 30 TypeChecking=Interface, |
| 31 ConstructorCallWith=ScriptState, |
31 ] interface Internals { | 32 ] interface Internals { |
32 DOMString address(Node node); | 33 DOMString address(Node node); |
33 | 34 |
34 GCObservation observeGC(any observed); | 35 GCObservation observeGC(any observed); |
35 | 36 |
36 [RaisesException, TypeChecking=Interface] DOMString elementLayoutTreeAsText(
Element element); | 37 [RaisesException, TypeChecking=Interface] DOMString elementLayoutTreeAsText(
Element element); |
37 boolean isPreloaded(DOMString url); | 38 boolean isPreloaded(DOMString url); |
38 boolean isLoadingFromMemoryCache(DOMString url); | 39 boolean isLoadingFromMemoryCache(DOMString url); |
39 | 40 |
40 [TypeChecking=Interface] boolean isSharingStyle(Element element1, Element el
ement2); | 41 [TypeChecking=Interface] boolean isSharingStyle(Element element1, Element el
ement2); |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 void setVisualViewportOffset(long x, long y); | 313 void setVisualViewportOffset(long x, long y); |
313 | 314 |
314 boolean isUseCounted(Document document, long useCounterId); | 315 boolean isUseCounted(Document document, long useCounterId); |
315 | 316 |
316 iterable<long>; | 317 iterable<long>; |
317 | 318 |
318 [Unscopeable] readonly attribute DOMString unscopeableAttribute; | 319 [Unscopeable] readonly attribute DOMString unscopeableAttribute; |
319 [Unscopeable] DOMString unscopeableMethod(); | 320 [Unscopeable] DOMString unscopeableMethod(); |
320 | 321 |
321 ClientRectList focusRingRects(Element element); | 322 ClientRectList focusRingRects(Element element); |
| 323 |
| 324 readonly attribute any readableStream; |
322 }; | 325 }; |
OLD | NEW |