| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 WebKitPoint touchPositionAdjustedToBestClickableNode(in long x, in long y, i
n long width, in long height, in Document document) raises (DOMException); | 118 WebKitPoint touchPositionAdjustedToBestClickableNode(in long x, in long y, i
n long width, in long height, in Document document) raises (DOMException); |
| 119 Node touchNodeAdjustedToBestClickableNode(in long x, in long y, in long widt
h, in long height, in Document document) raises (DOMException); | 119 Node touchNodeAdjustedToBestClickableNode(in long x, in long y, in long widt
h, in long height, in Document document) raises (DOMException); |
| 120 WebKitPoint touchPositionAdjustedToBestContextMenuNode(in long x, in long y,
in long width, in long height, in Document document) raises (DOMException); | 120 WebKitPoint touchPositionAdjustedToBestContextMenuNode(in long x, in long y,
in long width, in long height, in Document document) raises (DOMException); |
| 121 Node touchNodeAdjustedToBestContextMenuNode(in long x, in long y, in long wi
dth, in long height, in Document document) raises (DOMException); | 121 Node touchNodeAdjustedToBestContextMenuNode(in long x, in long y, in long wi
dth, in long height, in Document document) raises (DOMException); |
| 122 ClientRect bestZoomableAreaForTouchPoint(in long x, in long y, in long width
, in long height, in Document document) raises (DOMException); | 122 ClientRect bestZoomableAreaForTouchPoint(in long x, in long y, in long width
, in long height, in Document document) raises (DOMException); |
| 123 #endif | 123 #endif |
| 124 | 124 |
| 125 long lastSpellCheckRequestSequence(in Document document) raises (DOMExceptio
n); | 125 long lastSpellCheckRequestSequence(in Document document) raises (DOMExceptio
n); |
| 126 long lastSpellCheckProcessedSequence(in Document document) raises (DOMExcept
ion); | 126 long lastSpellCheckProcessedSequence(in Document document) raises (DOMExcept
ion); |
| 127 | 127 |
| 128 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK | |
| 129 void setShouldDisplayTrackKind(in Document document, in DOMString kind, in b
oolean enabled) raises (DOMException); | |
| 130 boolean shouldDisplayTrackKind(in Document document, in DOMString trackKind)
raises (DOMException); | |
| 131 #endif | |
| 132 | |
| 133 sequence<String> userPreferredLanguages(); | 128 sequence<String> userPreferredLanguages(); |
| 134 void setUserPreferredLanguages(in sequence<String> languages); | 129 void setUserPreferredLanguages(in sequence<String> languages); |
| 135 | 130 |
| 136 unsigned long wheelEventHandlerCount(in Document document) raises (DOMExcept
ion); | 131 unsigned long wheelEventHandlerCount(in Document document) raises (DOMExcept
ion); |
| 137 unsigned long touchEventHandlerCount(in Document document) raises (DOMExcept
ion); | 132 unsigned long touchEventHandlerCount(in Document document) raises (DOMExcept
ion); |
| 138 | 133 |
| 139 NodeList nodesFromRect(in Document document, in long x, in long y, | 134 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 140 in unsigned long topPadding, in unsigned long rightPadding, in unsigned
long bottomPadding, in unsigned long leftPadding, | 135 in unsigned long topPadding, in unsigned long rightPadding, in unsigned
long bottomPadding, in unsigned long leftPadding, |
| 141 in boolean ignoreClipping, in boolean allowShadowContent) raises (DOMExc
eption); | 136 in boolean ignoreClipping, in boolean allowShadowContent) raises (DOMExc
eption); |
| 142 | 137 |
| 143 void emitInspectorDidBeginFrame(); | 138 void emitInspectorDidBeginFrame(); |
| 144 void emitInspectorDidCancelFrame(); | 139 void emitInspectorDidCancelFrame(); |
| 145 | 140 |
| 146 boolean hasSpellingMarker(in Document document, in long from, in long length
) raises (DOMException); | 141 boolean hasSpellingMarker(in Document document, in long from, in long length
) raises (DOMException); |
| 147 boolean hasGrammarMarker(in Document document, in long from, in long length)
raises (DOMException); | 142 boolean hasGrammarMarker(in Document document, in long from, in long length)
raises (DOMException); |
| 148 boolean hasAutocorrectedMarker(in Document document, in long from, in long l
ength) raises (DOMException); | 143 boolean hasAutocorrectedMarker(in Document document, in long from, in long l
ength) raises (DOMException); |
| 149 | 144 |
| 150 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); | 145 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); |
| 151 | 146 |
| 152 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D
OMException); | 147 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D
OMException); |
| 153 | 148 |
| 154 readonly attribute InternalSettings settings; | 149 readonly attribute InternalSettings settings; |
| 155 | 150 |
| 156 void suspendAnimations(in Document document) raises (DOMException); | 151 void suspendAnimations(in Document document) raises (DOMException); |
| 157 void resumeAnimations(in Document document) raises (DOMException); | 152 void resumeAnimations(in Document document) raises (DOMException); |
| 158 | 153 |
| 159 // Flags for layerTreeAsText. | 154 // Flags for layerTreeAsText. |
| 160 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; | 155 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; |
| 156 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; |
| 161 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short
flags) raises (DOMException); | 157 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short
flags) raises (DOMException); |
| 162 | 158 |
| 163 void garbageCollectDocumentResources(in Document document) raises (DOMExcept
ion); | 159 void garbageCollectDocumentResources(in Document document) raises (DOMExcept
ion); |
| 164 | 160 |
| 165 void allowRoundingHacks(); | 161 void allowRoundingHacks(); |
| 166 | 162 |
| 167 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | 163 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS |
| 168 void setBatteryStatus(in Document document, in DOMString eventType, in boole
an charging, in double chargingTime, in double dischargingTime, in double level)
raises (DOMException); | 164 void setBatteryStatus(in Document document, in DOMString eventType, in boole
an charging, in double chargingTime, in double dischargingTime, in double level)
raises (DOMException); |
| 169 #endif | 165 #endif |
| 170 | 166 |
| 171 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 167 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 172 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); |
| 173 #endif | 169 #endif |
| 174 | 170 |
| 175 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 171 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 176 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 172 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 177 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in Doc
ument document); | 173 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in Doc
ument document); |
| 178 [Conditional=INSPECTOR] DOMWindow openDummyInspectorFrontend(in DOMString ur
l); | 174 [Conditional=INSPECTOR] DOMWindow openDummyInspectorFrontend(in DOMString ur
l); |
| 179 [Conditional=INSPECTOR] void closeDummyInspectorFrontend(); | 175 [Conditional=INSPECTOR] void closeDummyInspectorFrontend(); |
| 176 [Conditional=INSPECTOR] void setInspectorResourcesDataSizeLimits(in long max
imumResourcesContentSize, in long maximumSingleResourceContentSize) raises(DOMEx
ception); |
| 177 [Conditional=INSPECTOR] void setJavaScriptProfilingEnabled(in boolean create
s) raises(DOMException); |
| 180 | 178 |
| 181 DOMString counterValue(in Element element); | 179 DOMString counterValue(in Element element); |
| 182 long pageNumber(in Element element, in [Optional] float pageWidth, in [Optio
nal] float pageHeight); | 180 long pageNumber(in Element element, in [Optional] float pageWidth, in [Optio
nal] float pageHeight); |
| 183 DOMString[] iconURLs(in Document document); | 181 DOMString[] iconURLs(in Document document); |
| 184 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional] dou
ble pageHeightInPixels); | 182 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional] dou
ble pageHeightInPixels); |
| 185 DOMString pageProperty(in DOMString propertyName, in long pageNumber) raises
(DOMException); | 183 DOMString pageProperty(in DOMString propertyName, in long pageNumber) raises
(DOMException); |
| 186 DOMString pageSizeAndMarginsInPixels(in long pageIndex, in long width, in lo
ng height, in long marginTop, in long marginRight, in long marginBottom, in long
marginLeft) raises (DOMException); | 184 DOMString pageSizeAndMarginsInPixels(in long pageIndex, in long width, in lo
ng height, in long marginTop, in long marginRight, in long marginBottom, in long
marginLeft) raises (DOMException); |
| 187 | 185 |
| 188 | 186 |
| 189 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 187 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
| 190 void webkitWillEnterFullScreenForElement(in Document document, in Element el
ement); | 188 void webkitWillEnterFullScreenForElement(in Document document, in Element el
ement); |
| 191 void webkitDidEnterFullScreenForElement(in Document document, in Element ele
ment); | 189 void webkitDidEnterFullScreenForElement(in Document document, in Element ele
ment); |
| 192 void webkitWillExitFullScreenForElement(in Document document, in Element ele
ment); | 190 void webkitWillExitFullScreenForElement(in Document document, in Element ele
ment); |
| 193 void webkitDidExitFullScreenForElement(in Document document, in Element elem
ent); | 191 void webkitDidExitFullScreenForElement(in Document document, in Element elem
ent); |
| 194 #endif | 192 #endif |
| 195 | 193 |
| 196 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString scheme); | 194 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString scheme); |
| 197 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString
scheme); | 195 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString
scheme); |
| 198 | 196 |
| 199 MallocStatistics mallocStatistics(); | 197 MallocStatistics mallocStatistics(); |
| 200 | 198 |
| 201 DOMString[] getReferencedFilePaths(); | 199 DOMString[] getReferencedFilePaths(); |
| 202 }; | 200 }; |
| OLD | NEW |