| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 void removeShadowRoot(in Element host) raises (DOMException); | 52 void removeShadowRoot(in Element host) raises (DOMException); |
| 53 DOMString shadowPseudoId(in Element element) raises (DOMException); | 53 DOMString shadowPseudoId(in Element element) raises (DOMException); |
| 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 | 57 |
| 58 Node nextSiblingByWalker(in Node node) raises(DOMException); |
| 59 Node firstChildByWalker(in Node node) raises(DOMException); |
| 60 Node lastChildByWalker(in Node node) raises(DOMException); |
| 61 Node nextNodeByWalker(in Node node) raises(DOMException); |
| 62 Node previousNodeByWalker(in Node node) raises(DOMException); |
| 63 |
| 64 Node nextSiblingInReifiedTree(in Node node) raises(DOMException); |
| 65 Node firstChildInReifiedTree(in Node node) raises(DOMException); |
| 66 Node lastChildInReifiedTree(in Node node) raises(DOMException); |
| 67 Node traverseNextNodeInReifiedTree(in Node node) raises(DOMException); |
| 68 Node traversePreviousNodeInReifiedTree(in Node node) raises(DOMException
); |
| 69 |
| 58 boolean attached(in Node node) raises(DOMException); | 70 boolean attached(in Node node) raises(DOMException); |
| 59 | 71 |
| 60 #if defined(ENABLE_INPUT_COLOR) && ENABLE_INPUT_COLOR | 72 #if defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR |
| 61 void selectColorInColorChooser(in Element element, in DOMString colorVal
ue); | 73 void selectColorInColorChooser(in Element element, in DOMString colorVal
ue); |
| 62 #endif | 74 #endif |
| 63 | 75 |
| 64 ClientRect boundingBox(in Element element) raises(DOMException); | 76 ClientRect boundingBox(in Element element) raises(DOMException); |
| 65 | 77 |
| 66 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); | 78 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); |
| 67 | 79 |
| 68 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); | 80 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); |
| 69 Range markerRangeForNode(in Node node, in DOMString markerType, in unsig
ned long index) raises(DOMException); | 81 Range markerRangeForNode(in Node node, in DOMString markerType, in unsig
ned long index) raises(DOMException); |
| 70 DOMString markerDescriptionForNode(in Node node, in DOMString markerType
, in unsigned long index) raises(DOMException); | 82 DOMString markerDescriptionForNode(in Node node, in DOMString markerType
, in unsigned long index) raises(DOMException); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 82 void scrollElementToRect(in Element element, in long x, in long y, in lo
ng w, in long h) raises (DOMException); | 94 void scrollElementToRect(in Element element, in long x, in long y, in lo
ng w, in long h) raises (DOMException); |
| 83 | 95 |
| 84 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation
, in long rangeLength) raises (DOMException); | 96 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation
, in long rangeLength) raises (DOMException); |
| 85 unsigned long locationFromRange(in Element scope, in Range range) raises
(DOMException); | 97 unsigned long locationFromRange(in Element scope, in Range range) raises
(DOMException); |
| 86 unsigned long lengthFromRange(in Element scope, in Range range) raises (
DOMException); | 98 unsigned long lengthFromRange(in Element scope, in Range range) raises (
DOMException); |
| 87 DOMString rangeAsText(in Range range) raises (DOMException); | 99 DOMString rangeAsText(in Range range) raises (DOMException); |
| 88 | 100 |
| 89 #if defined(ENABLE_TOUCH_ADJUSTMENT) && ENABLE_TOUCH_ADJUSTMENT | 101 #if defined(ENABLE_TOUCH_ADJUSTMENT) && ENABLE_TOUCH_ADJUSTMENT |
| 90 WebKitPoint touchPositionAdjustedToBestClickableNode(in long x, in long
y, in long width, in long height, in Document document) raises (DOMException); | 102 WebKitPoint touchPositionAdjustedToBestClickableNode(in long x, in long
y, in long width, in long height, in Document document) raises (DOMException); |
| 91 Node touchNodeAdjustedToBestClickableNode(in long x, in long y, in long
width, in long height, in Document document) raises (DOMException); | 103 Node touchNodeAdjustedToBestClickableNode(in long x, in long y, in long
width, in long height, in Document document) raises (DOMException); |
| 104 ClientRect bestZoomableAreaForTouchPoint(in long x, in long y, in long w
idth, in long height, in Document document) raises (DOMException); |
| 92 #endif | 105 #endif |
| 93 | 106 |
| 94 long lastSpellCheckRequestSequence(in Document document) raises (DOMExce
ption); | 107 long lastSpellCheckRequestSequence(in Document document) raises (DOMExce
ption); |
| 95 long lastSpellCheckProcessedSequence(in Document document) raises (DOMEx
ception); | 108 long lastSpellCheckProcessedSequence(in Document document) raises (DOMEx
ception); |
| 96 | 109 |
| 97 void setMediaPlaybackRequiresUserGesture(in Document document, in boolea
n enabled) raises(DOMException); | 110 void setMediaPlaybackRequiresUserGesture(in Document document, in boolea
n enabled) raises(DOMException); |
| 98 | 111 |
| 99 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK | 112 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK |
| 100 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); | 113 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); |
| 101 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); | 114 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); |
| 102 #endif | 115 #endif |
| 103 | 116 |
| 104 attribute [Custom] Array userPreferredLanguages; | 117 attribute sequence<String> userPreferredLanguages; |
| 105 | 118 |
| 106 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); | 119 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 107 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); | 120 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 108 | 121 |
| 109 NodeList nodesFromRect(in Document document, in long x, in long y, | 122 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 110 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, | 123 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, |
| 111 in boolean ignoreClipping) raises (DOMException); | 124 in boolean ignoreClipping) raises (DOMException); |
| 112 | 125 |
| 113 void emitInspectorDidBeginFrame(); | 126 void emitInspectorDidBeginFrame(); |
| 114 void emitInspectorDidCancelFrame(); | 127 void emitInspectorDidCancelFrame(); |
| 115 | 128 |
| 116 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); | 129 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); |
| 117 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); | 130 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); |
| 118 | 131 |
| 119 readonly attribute InternalSettings settings; | 132 readonly attribute InternalSettings settings; |
| 120 | 133 |
| 121 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | 134 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS |
| 122 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); | 135 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); |
| 123 #endif | 136 #endif |
| 137 |
| 138 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 139 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); |
| 140 #endif |
| 124 | 141 |
| 125 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 142 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 126 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 143 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 127 }; | 144 }; |
| 128 } | 145 } |
| 129 | 146 |
| OLD | NEW |