| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 Node youngerShadowRoot(in Node root) raises (DOMException); | 49 Node youngerShadowRoot(in Node root) raises (DOMException); |
| 50 #endif | 50 #endif |
| 51 Element includerFor(in Node node) raises (DOMException); | 51 Element includerFor(in Node node) raises (DOMException); |
| 52 DOMString shadowPseudoId(in Element element) raises (DOMException); | 52 DOMString shadowPseudoId(in Element element) raises (DOMException); |
| 53 void setShadowPseudoId(in Element element, in DOMString id) raises (DOME
xception); | 53 void setShadowPseudoId(in Element element, in DOMString id) raises (DOME
xception); |
| 54 Element createContentElement(in Document document) raises(DOMException); | 54 Element createContentElement(in Document document) raises(DOMException); |
| 55 Element getElementByIdInShadowRoot(in Node shadowRoot, in DOMString id)
raises(DOMException); | 55 Element getElementByIdInShadowRoot(in Node shadowRoot, in DOMString id)
raises(DOMException); |
| 56 boolean isValidContentSelect(in Element contentElement) raises(DOMExcept
ion); | 56 boolean isValidContentSelect(in Element contentElement) raises(DOMExcept
ion); |
| 57 Node treeScopeRootNode(in Node node) raises (DOMException); | 57 Node treeScopeRootNode(in Node node) raises (DOMException); |
| 58 Node parentTreeScope(in Node node) raises (DOMException); | 58 Node parentTreeScope(in Node node) raises (DOMException); |
| 59 void setAuthorShadowDOMForAnyElementEnabled(in boolean isEnabled); |
| 59 | 60 |
| 60 Node nextSiblingByWalker(in Node node) raises(DOMException); | 61 Node nextSiblingByWalker(in Node node) raises(DOMException); |
| 61 Node firstChildByWalker(in Node node) raises(DOMException); | 62 Node firstChildByWalker(in Node node) raises(DOMException); |
| 62 Node lastChildByWalker(in Node node) raises(DOMException); | 63 Node lastChildByWalker(in Node node) raises(DOMException); |
| 63 Node nextNodeByWalker(in Node node) raises(DOMException); | 64 Node nextNodeByWalker(in Node node) raises(DOMException); |
| 64 Node previousNodeByWalker(in Node node) raises(DOMException); | 65 Node previousNodeByWalker(in Node node) raises(DOMException); |
| 65 | 66 |
| 66 boolean attached(in Node node) raises(DOMException); | 67 boolean attached(in Node node) raises(DOMException); |
| 67 | 68 |
| 68 DOMString visiblePlaceholder(in Element element); | 69 DOMString visiblePlaceholder(in Element element); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 79 | 80 |
| 80 ClientRect boundingBox(in Element element) raises(DOMException); | 81 ClientRect boundingBox(in Element element) raises(DOMException); |
| 81 | 82 |
| 82 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); | 83 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); |
| 83 | 84 |
| 84 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DO
MException); | 85 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DO
MException); |
| 85 | 86 |
| 86 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); | 87 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); |
| 87 Range markerRangeForNode(in Node node, in DOMString markerType, in unsig
ned long index) raises(DOMException); | 88 Range markerRangeForNode(in Node node, in DOMString markerType, in unsig
ned long index) raises(DOMException); |
| 88 DOMString markerDescriptionForNode(in Node node, in DOMString markerType
, in unsigned long index) raises(DOMException); | 89 DOMString markerDescriptionForNode(in Node node, in DOMString markerType
, in unsigned long index) raises(DOMException); |
| 90 void addTextMatchMarker(in Range range, in boolean isActive); |
| 89 | 91 |
| 90 void setScrollViewPosition(in Document document, in long x, in long y) r
aises(DOMException); | 92 void setScrollViewPosition(in Document document, in long x, in long y) r
aises(DOMException); |
| 91 | 93 |
| 92 void setPagination(in Document document, in DOMString mode, in long gap,
in [Optional] long pageLength) raises(DOMException); | 94 void setPagination(in Document document, in DOMString mode, in long gap,
in [Optional] long pageLength) raises(DOMException); |
| 93 | 95 |
| 94 DOMString configurationForViewport(in Document document, | 96 DOMString configurationForViewport(in Document document, |
| 95 in float devicePixelRatio, | 97 in float devicePixelRatio, |
| 96 in long deviceWidth, | 98 in long deviceWidth, |
| 97 in long deviceHeight, | 99 in long deviceHeight, |
| 98 in long availableWidth, | 100 in long availableWidth, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 125 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK | 127 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK |
| 126 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); | 128 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); |
| 127 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); | 129 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); |
| 128 #endif | 130 #endif |
| 129 | 131 |
| 130 sequence<String> userPreferredLanguages(); | 132 sequence<String> userPreferredLanguages(); |
| 131 void setUserPreferredLanguages(in sequence<String> languages); | 133 void setUserPreferredLanguages(in sequence<String> languages); |
| 132 | 134 |
| 133 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); | 135 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 134 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); | 136 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 137 boolean hasTouchEventListener(in Document document) raises (DOMException
); |
| 135 | 138 |
| 136 NodeList nodesFromRect(in Document document, in long x, in long y, | 139 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 137 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, | 140 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, |
| 138 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); | 141 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); |
| 139 | 142 |
| 140 void emitInspectorDidBeginFrame(); | 143 void emitInspectorDidBeginFrame(); |
| 141 void emitInspectorDidCancelFrame(); | 144 void emitInspectorDidCancelFrame(); |
| 142 | 145 |
| 143 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); | 146 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); |
| 144 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); | 147 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); |
| 145 boolean hasAutocorrectedMarker(in Document document, in long from, in lo
ng length) raises (DOMException); | 148 boolean hasAutocorrectedMarker(in Document document, in long from, in lo
ng length) raises (DOMException); |
| 146 | 149 |
| 147 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); | 150 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); |
| 148 | 151 |
| 149 boolean isPageBoxVisible(in Document document, in long pageNumber) raise
s (DOMException); | 152 boolean isPageBoxVisible(in Document document, in long pageNumber) raise
s (DOMException); |
| 150 | 153 |
| 151 readonly attribute InternalSettings settings; | 154 readonly attribute InternalSettings settings; |
| 152 | 155 |
| 153 void suspendAnimations(in Document document) raises (DOMException); | 156 void suspendAnimations(in Document document) raises (DOMException); |
| 154 void resumeAnimations(in Document document) raises (DOMException); | 157 void resumeAnimations(in Document document) raises (DOMException); |
| 155 | 158 |
| 159 void garbageCollectDocumentResources(in Document document) raises (DOMEx
ception); |
| 160 |
| 156 void allowRoundingHacks(); | 161 void allowRoundingHacks(); |
| 157 | 162 |
| 158 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | 163 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS |
| 159 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); | 164 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); |
| 160 #endif | 165 #endif |
| 161 | 166 |
| 162 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 167 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 163 void setNetworkInformation(in Document document, in DOMString eventType,
in double bandwidth, in boolean metered) raises (DOMException); | 168 void setNetworkInformation(in Document document, in DOMString eventType,
in double bandwidth, in boolean metered) raises (DOMException); |
| 164 #endif | 169 #endif |
| 165 | 170 |
| 166 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 171 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 167 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 172 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 168 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); | 173 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); |
| 169 | 174 |
| 170 DOMString counterValue(in Element element); | 175 DOMString counterValue(in Element element); |
| 176 long pageNumber(in Element element, in [Optional] float pageWidth, in [O
ptional] float pageHeight); |
| 171 DOMString[] iconURLs(in Document document); | 177 DOMString[] iconURLs(in Document document); |
| 172 | 178 |
| 173 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 179 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
| 174 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); | 180 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); |
| 175 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); | 181 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); |
| 176 void webkitWillExitFullScreenForElement(in Document document, in Element
element); | 182 void webkitWillExitFullScreenForElement(in Document document, in Element
element); |
| 177 void webkitDidExitFullScreenForElement(in Document document, in Element
element); | 183 void webkitDidExitFullScreenForElement(in Document document, in Element
element); |
| 178 #endif | 184 #endif |
| 179 | 185 |
| 180 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString sche
me); | 186 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString sche
me); |
| 181 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMStr
ing scheme); | 187 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMStr
ing scheme); |
| 188 |
| 189 FastMallocStatistics fastMallocStatistics(); |
| 182 }; | 190 }; |
| 183 } | 191 } |
| 184 | 192 |
| OLD | NEW |