| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 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 |
| 11 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
| 12 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 Node nextNodeByWalker(in Node node) raises(DOMException); | 61 Node nextNodeByWalker(in Node node) raises(DOMException); |
| 62 Node previousNodeByWalker(in Node node) raises(DOMException); | 62 Node previousNodeByWalker(in Node node) raises(DOMException); |
| 63 | 63 |
| 64 boolean attached(in Node node) raises(DOMException); | 64 boolean attached(in Node node) raises(DOMException); |
| 65 | 65 |
| 66 DOMString visiblePlaceholder(in Element element); | 66 DOMString visiblePlaceholder(in Element element); |
| 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 absoluteCaretBounds(in Document document) raises(DOMException
); | |
| 72 | |
| 73 ClientRect boundingBox(in Element element) raises(DOMException); | 71 ClientRect boundingBox(in Element element) raises(DOMException); |
| 74 | 72 |
| 75 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); | 73 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); |
| 76 | 74 |
| 77 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DO
MException); | 75 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DO
MException); |
| 78 | 76 |
| 79 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); | 77 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); |
| 80 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); |
| 81 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); |
| 82 | 80 |
| 83 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); |
| 84 | 82 |
| 85 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); |
| 86 | 84 |
| 87 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException
); | 85 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException
); |
| 88 DOMString suggestedValue(in Element inputElement) raises (DOMException); | 86 DOMString suggestedValue(in Element inputElement) raises (DOMException); |
| 89 void setSuggestedValue(in Element inputElement, in DOMString value) rais
es (DOMException); | 87 void setSuggestedValue(in Element inputElement, in DOMString value) rais
es (DOMException); |
| 90 void setEditingValue(in Element inputElement, in DOMString value) raises
(DOMException); | |
| 91 | 88 |
| 92 void paintControlTints(in Document document) raises (DOMException); | 89 void paintControlTints(in Document document) raises (DOMException); |
| 93 | 90 |
| 94 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); |
| 95 | 92 |
| 96 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); |
| 97 unsigned long locationFromRange(in Element scope, in Range range) raises
(DOMException); | 94 unsigned long locationFromRange(in Element scope, in Range range) raises
(DOMException); |
| 98 unsigned long lengthFromRange(in Element scope, in Range range) raises (
DOMException); | 95 unsigned long lengthFromRange(in Element scope, in Range range) raises (
DOMException); |
| 99 DOMString rangeAsText(in Range range) raises (DOMException); | 96 DOMString rangeAsText(in Range range) raises (DOMException); |
| 100 | 97 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 130 | 127 |
| 131 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); | 128 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); |
| 132 | 129 |
| 133 boolean isPageBoxVisible(in Document document, in long pageNumber) raise
s (DOMException); | 130 boolean isPageBoxVisible(in Document document, in long pageNumber) raise
s (DOMException); |
| 134 | 131 |
| 135 readonly attribute InternalSettings settings; | 132 readonly attribute InternalSettings settings; |
| 136 | 133 |
| 137 void suspendAnimations(in Document document) raises (DOMException); | 134 void suspendAnimations(in Document document) raises (DOMException); |
| 138 void resumeAnimations(in Document document) raises (DOMException); | 135 void resumeAnimations(in Document document) raises (DOMException); |
| 139 | 136 |
| 140 void allowRoundingHacks(); | |
| 141 | |
| 142 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | 137 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS |
| 143 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); | 138 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); |
| 144 #endif | 139 #endif |
| 145 | 140 |
| 146 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 141 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 147 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); | 142 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); |
| 148 #endif | 143 #endif |
| 149 | 144 |
| 150 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 145 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 151 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 146 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 152 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); | 147 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); |
| 153 | 148 |
| 154 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 149 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
| 155 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); | 150 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); |
| 156 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); | 151 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); |
| 157 void webkitWillExitFullScreenForElement(in Document document, in Element
element); | 152 void webkitWillExitFullScreenForElement(in Document document, in Element
element); |
| 158 void webkitDidExitFullScreenForElement(in Document document, in Element
element); | 153 void webkitDidExitFullScreenForElement(in Document document, in Element
element); |
| 159 #endif | 154 #endif |
| 160 }; | 155 }; |
| 161 } | 156 } |
| 162 | 157 |
| OLD | NEW |