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 isPreloadedBy(DOMString url, Document document); | 39 boolean isPreloadedBy(DOMString url, Document document); |
39 boolean isLoadingFromMemoryCache(DOMString url); | 40 boolean isLoadingFromMemoryCache(DOMString url); |
40 | 41 |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 boolean isUseCounted(Document document, long useCounterId); | 319 boolean isUseCounted(Document document, long useCounterId); |
319 | 320 |
320 iterable<long>; | 321 iterable<long>; |
321 | 322 |
322 [Unscopeable] readonly attribute DOMString unscopeableAttribute; | 323 [Unscopeable] readonly attribute DOMString unscopeableAttribute; |
323 [Unscopeable] DOMString unscopeableMethod(); | 324 [Unscopeable] DOMString unscopeableMethod(); |
324 | 325 |
325 ClientRectList focusRingRects(Element element); | 326 ClientRectList focusRingRects(Element element); |
326 void setCapsLockState(boolean enabled); | 327 void setCapsLockState(boolean enabled); |
327 }; | 328 }; |
OLD | NEW |