| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 boolean attached(in Node node) raises(DOMException); | 65 boolean attached(in Node node) raises(DOMException); |
| 66 | 66 |
| 67 #if defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR | 67 #if defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR |
| 68 void selectColorInColorChooser(in Element element, in DOMString colorVal
ue); | 68 void selectColorInColorChooser(in Element element, in DOMString colorVal
ue); |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 ClientRect boundingBox(in Element element) raises(DOMException); | 71 ClientRect boundingBox(in Element element) raises(DOMException); |
| 72 | 72 |
| 73 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); | 73 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); |
| 74 | 74 |
| 75 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DO
MException); |
| 76 |
| 75 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); | 77 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); |
| 76 Range markerRangeForNode(in Node node, in DOMString markerType, in unsig
ned long index) raises(DOMException); | 78 Range markerRangeForNode(in Node node, in DOMString markerType, in unsig
ned long index) raises(DOMException); |
| 77 DOMString markerDescriptionForNode(in Node node, in DOMString markerType
, in unsigned long index) raises(DOMException); | 79 DOMString markerDescriptionForNode(in Node node, in DOMString markerType
, in unsigned long index) raises(DOMException); |
| 78 | 80 |
| 79 void setScrollViewPosition(in Document document, in long x, in long y) r
aises(DOMException); | 81 void setScrollViewPosition(in Document document, in long x, in long y) r
aises(DOMException); |
| 80 | 82 |
| 81 void setPagination(in Document document, in DOMString mode, in long gap)
raises(DOMException); | 83 void setPagination(in Document document, in DOMString mode, in long gap)
raises(DOMException); |
| 82 | 84 |
| 83 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException
); | 85 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException
); |
| 84 DOMString suggestedValue(in Element inputElement) raises (DOMException); | 86 DOMString suggestedValue(in Element inputElement) raises (DOMException); |
| 85 void setSuggestedValue(in Element inputElement, in DOMString value) rais
es (DOMException); | 87 void setSuggestedValue(in Element inputElement, in DOMString value) rais
es (DOMException); |
| 86 | 88 |
| 87 void paintControlTints(in Document document) raises (DOMException); | 89 void paintControlTints(in Document document) raises (DOMException); |
| 88 | 90 |
| 89 void scrollElementToRect(in Element element, in long x, in long y, in lo
ng w, in long h) raises (DOMException); | 91 void scrollElementToRect(in Element element, in long x, in long y, in lo
ng w, in long h) raises (DOMException); |
| 90 | 92 |
| 91 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation
, in long rangeLength) raises (DOMException); | 93 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation
, in long rangeLength) raises (DOMException); |
| 92 unsigned long locationFromRange(in Element scope, in Range range) raises
(DOMException); | 94 unsigned long locationFromRange(in Element scope, in Range range) raises
(DOMException); |
| 93 unsigned long lengthFromRange(in Element scope, in Range range) raises (
DOMException); | 95 unsigned long lengthFromRange(in Element scope, in Range range) raises (
DOMException); |
| 94 DOMString rangeAsText(in Range range) raises (DOMException); | 96 DOMString rangeAsText(in Range range) raises (DOMException); |
| 95 | 97 |
| 98 void setDelegatesScrolling(in boolean enabled, in Document document) rai
ses (DOMException); |
| 96 #if defined(ENABLE_TOUCH_ADJUSTMENT) && ENABLE_TOUCH_ADJUSTMENT | 99 #if defined(ENABLE_TOUCH_ADJUSTMENT) && ENABLE_TOUCH_ADJUSTMENT |
| 97 WebKitPoint touchPositionAdjustedToBestClickableNode(in long x, in long
y, in long width, in long height, in Document document) raises (DOMException); | 100 WebKitPoint touchPositionAdjustedToBestClickableNode(in long x, in long
y, in long width, in long height, in Document document) raises (DOMException); |
| 98 Node touchNodeAdjustedToBestClickableNode(in long x, in long y, in long
width, in long height, in Document document) raises (DOMException); | 101 Node touchNodeAdjustedToBestClickableNode(in long x, in long y, in long
width, in long height, in Document document) raises (DOMException); |
| 99 ClientRect bestZoomableAreaForTouchPoint(in long x, in long y, in long w
idth, in long height, in Document document) raises (DOMException); | 102 ClientRect bestZoomableAreaForTouchPoint(in long x, in long y, in long w
idth, in long height, in Document document) raises (DOMException); |
| 100 #endif | 103 #endif |
| 101 | 104 |
| 102 long lastSpellCheckRequestSequence(in Document document) raises (DOMExce
ption); | 105 long lastSpellCheckRequestSequence(in Document document) raises (DOMExce
ption); |
| 103 long lastSpellCheckProcessedSequence(in Document document) raises (DOMEx
ception); | 106 long lastSpellCheckProcessedSequence(in Document document) raises (DOMEx
ception); |
| 104 | 107 |
| 105 void setMediaPlaybackRequiresUserGesture(in Document document, in boolea
n enabled) raises(DOMException); | |
| 106 | |
| 107 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK | 108 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK |
| 108 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); | 109 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); |
| 109 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); | 110 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); |
| 110 #endif | 111 #endif |
| 111 | 112 |
| 112 attribute sequence<String> userPreferredLanguages; | 113 attribute sequence<String> userPreferredLanguages; |
| 113 | 114 |
| 114 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); | 115 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 115 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); | 116 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 116 | 117 |
| 117 NodeList nodesFromRect(in Document document, in long x, in long y, | 118 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 118 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, | 119 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, |
| 119 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); | 120 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); |
| 120 | 121 |
| 121 void emitInspectorDidBeginFrame(); | 122 void emitInspectorDidBeginFrame(); |
| 122 void emitInspectorDidCancelFrame(); | 123 void emitInspectorDidCancelFrame(); |
| 123 | 124 |
| 124 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); | 125 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); |
| 125 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); | 126 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); |
| 126 | 127 |
| 128 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); |
| 129 |
| 127 readonly attribute InternalSettings settings; | 130 readonly attribute InternalSettings settings; |
| 128 | 131 |
| 129 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | 132 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS |
| 130 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); | 133 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); |
| 131 #endif | 134 #endif |
| 132 | 135 |
| 133 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 136 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 134 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); | 137 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); |
| 135 #endif | 138 #endif |
| 136 | 139 |
| 137 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 140 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 138 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 141 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 139 }; | 142 }; |
| 140 } | 143 } |
| 141 | 144 |
| OLD | NEW |