| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 Node oldestShadowRoot(in Element host) raises (DOMException); | 48 Node oldestShadowRoot(in Element host) raises (DOMException); |
| 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 | 59 |
| 59 Node nextSiblingByWalker(in Node node) raises(DOMException); | 60 Node nextSiblingByWalker(in Node node) raises(DOMException); |
| 60 Node firstChildByWalker(in Node node) raises(DOMException); | 61 Node firstChildByWalker(in Node node) raises(DOMException); |
| 61 Node lastChildByWalker(in Node node) raises(DOMException); | 62 Node lastChildByWalker(in Node node) raises(DOMException); |
| 62 Node nextNodeByWalker(in Node node) raises(DOMException); | 63 Node nextNodeByWalker(in Node node) raises(DOMException); |
| 63 Node previousNodeByWalker(in Node node) raises(DOMException); | 64 Node previousNodeByWalker(in Node node) raises(DOMException); |
| 64 | 65 |
| 65 boolean attached(in Node node) raises(DOMException); | 66 boolean attached(in Node node) raises(DOMException); |
| 66 | 67 |
| 67 DOMString visiblePlaceholder(in Element element); | 68 DOMString visiblePlaceholder(in Element element); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 125 |
| 125 NodeList nodesFromRect(in Document document, in long x, in long y, | 126 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 126 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, | 127 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, |
| 127 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); | 128 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); |
| 128 | 129 |
| 129 void emitInspectorDidBeginFrame(); | 130 void emitInspectorDidBeginFrame(); |
| 130 void emitInspectorDidCancelFrame(); | 131 void emitInspectorDidCancelFrame(); |
| 131 | 132 |
| 132 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); | 133 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); |
| 133 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); | 134 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); |
| 135 boolean hasAutocorrectedMarker(in Document document, in long from, in lo
ng length) raises (DOMException); |
| 134 | 136 |
| 135 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); | 137 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); |
| 136 | 138 |
| 137 boolean isPageBoxVisible(in Document document, in long pageNumber) raise
s (DOMException); | 139 boolean isPageBoxVisible(in Document document, in long pageNumber) raise
s (DOMException); |
| 138 | 140 |
| 139 readonly attribute InternalSettings settings; | 141 readonly attribute InternalSettings settings; |
| 140 | 142 |
| 141 void suspendAnimations(in Document document) raises (DOMException); | 143 void suspendAnimations(in Document document) raises (DOMException); |
| 142 void resumeAnimations(in Document document) raises (DOMException); | 144 void resumeAnimations(in Document document) raises (DOMException); |
| 143 | 145 |
| 144 void allowRoundingHacks(); | 146 void allowRoundingHacks(); |
| 145 | 147 |
| 146 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | 148 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS |
| 147 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); | 149 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); |
| 148 #endif | 150 #endif |
| 149 | 151 |
| 150 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 152 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 151 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); | 153 void setNetworkInformation(in Document document, in DOMString eventType,
in double bandwidth, in boolean metered) raises (DOMException); |
| 152 #endif | 154 #endif |
| 153 | 155 |
| 154 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 156 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 155 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 157 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 156 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); | 158 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); |
| 157 | 159 |
| 158 DOMString counterValue(in Element element); | 160 DOMString counterValue(in Element element); |
| 159 | 161 |
| 160 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 162 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
| 161 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); | 163 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); |
| 162 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); | 164 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); |
| 163 void webkitWillExitFullScreenForElement(in Document document, in Element
element); | 165 void webkitWillExitFullScreenForElement(in Document document, in Element
element); |
| 164 void webkitDidExitFullScreenForElement(in Document document, in Element
element); | 166 void webkitDidExitFullScreenForElement(in Document document, in Element
element); |
| 165 #endif | 167 #endif |
| 168 |
| 169 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString sche
me); |
| 170 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMStr
ing scheme); |
| 166 }; | 171 }; |
| 167 } | 172 } |
| 168 | 173 |
| OLD | NEW |