| 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 11 matching lines...) Expand all Loading... |
| 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 ] interface Internals { | 29 ] interface Internals { |
| 30 DOMString address(Node node); | 30 DOMString address(Node node); |
| 31 | 31 |
| 32 GCObservation observeGC(any observed); |
| 33 |
| 32 [RaisesException] DOMString elementRenderTreeAsText(Element element); | 34 [RaisesException] DOMString elementRenderTreeAsText(Element element); |
| 33 boolean isPreloaded(DOMString url); | 35 boolean isPreloaded(DOMString url); |
| 34 boolean isLoadingFromMemoryCache(DOMString url); | 36 boolean isLoadingFromMemoryCache(DOMString url); |
| 35 | 37 |
| 36 void crash(); | 38 void crash(); |
| 37 | 39 |
| 38 [RaisesException] unsigned long numberOfScopedHTMLStyleChildren(Node scope); | 40 [RaisesException] unsigned long numberOfScopedHTMLStyleChildren(Node scope); |
| 39 [RaisesException] CSSStyleDeclaration computedStyleIncludingVisitedInfo(Node
node); | 41 [RaisesException] CSSStyleDeclaration computedStyleIncludingVisitedInfo(Node
node); |
| 40 | 42 |
| 41 [RaisesException] ShadowRoot ensureShadowRoot(Element host); | 43 [RaisesException] ShadowRoot ensureShadowRoot(Element host); |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 208 |
| 207 DOMString counterValue(Element element); | 209 DOMString counterValue(Element element); |
| 208 long pageNumber(Element element, optional float pageWidth, optional float pa
geHeight); | 210 long pageNumber(Element element, optional float pageWidth, optional float pa
geHeight); |
| 209 DOMString[] shortcutIconURLs(Document document); | 211 DOMString[] shortcutIconURLs(Document document); |
| 210 DOMString[] allIconURLs(Document document); | 212 DOMString[] allIconURLs(Document document); |
| 211 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); | 213 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); |
| 212 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); | 214 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); |
| 213 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); | 215 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); |
| 214 | 216 |
| 215 [RaisesException] void setDeviceScaleFactor(float scaleFactor); | 217 [RaisesException] void setDeviceScaleFactor(float scaleFactor); |
| 216 [RaisesException] void setPageScaleFactor(float scaleFactor, long x, long y)
; | |
| 217 | 218 |
| 218 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); | 219 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); |
| 219 | 220 |
| 220 void webkitWillEnterFullScreenForElement(Document document, Element element)
; | 221 void webkitWillEnterFullScreenForElement(Document document, Element element)
; |
| 221 void webkitDidEnterFullScreenForElement(Document document, Element element); | 222 void webkitDidEnterFullScreenForElement(Document document, Element element); |
| 222 void webkitWillExitFullScreenForElement(Document document, Element element); | 223 void webkitWillExitFullScreenForElement(Document document, Element element); |
| 223 void webkitDidExitFullScreenForElement(Document document, Element element); | 224 void webkitDidExitFullScreenForElement(Document document, Element element); |
| 224 | 225 |
| 225 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 226 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
| 226 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 227 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 252 void enableMockSpeechSynthesizer(); | 253 void enableMockSpeechSynthesizer(); |
| 253 | 254 |
| 254 [RaisesException] DOMString getImageSourceURL(Element element); | 255 [RaisesException] DOMString getImageSourceURL(Element element); |
| 255 | 256 |
| 256 boolean isSelectPopupVisible(Node node); | 257 boolean isSelectPopupVisible(Node node); |
| 257 | 258 |
| 258 [RaisesException] ClientRect selectionBounds(); | 259 [RaisesException] ClientRect selectionBounds(); |
| 259 | 260 |
| 260 boolean loseSharedGraphicsContext3D(); | 261 boolean loseSharedGraphicsContext3D(); |
| 261 }; | 262 }; |
| OLD | NEW |