| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 #endif | 131 #endif |
| 132 | 132 |
| 133 sequence<String> userPreferredLanguages(); | 133 sequence<String> userPreferredLanguages(); |
| 134 void setUserPreferredLanguages(in sequence<String> languages); | 134 void setUserPreferredLanguages(in sequence<String> languages); |
| 135 | 135 |
| 136 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); | 136 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 137 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); | 137 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 138 | 138 |
| 139 NodeList nodesFromRect(in Document document, in long x, in long y, | 139 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 140 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, | 140 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, |
| 141 in boolean ignoreClipping, in boolean allowShadowContent, in boolean
allowChildFrameContent) raises (DOMException); | 141 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); |
| 142 | 142 |
| 143 void emitInspectorDidBeginFrame(); | 143 void emitInspectorDidBeginFrame(); |
| 144 void emitInspectorDidCancelFrame(); | 144 void emitInspectorDidCancelFrame(); |
| 145 | 145 |
| 146 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); | 146 boolean hasSpellingMarker(in Document document, in long from, in long le
ngth) raises (DOMException); |
| 147 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); | 147 boolean hasGrammarMarker(in Document document, in long from, in long len
gth) raises (DOMException); |
| 148 boolean hasAutocorrectedMarker(in Document document, in long from, in lo
ng length) raises (DOMException); | 148 boolean hasAutocorrectedMarker(in Document document, in long from, in lo
ng length) raises (DOMException); |
| 149 | 149 |
| 150 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); | 150 unsigned long numberOfScrollableAreas(in Document document) raises (DOME
xception); |
| 151 | 151 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 164 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); | 164 void setBatteryStatus(in Document document, in DOMString eventType, in b
oolean charging, in double chargingTime, in double dischargingTime, in double le
vel) raises (DOMException); |
| 165 #endif | 165 #endif |
| 166 | 166 |
| 167 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 167 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 168 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); |
| 169 #endif | 169 #endif |
| 170 | 170 |
| 171 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 171 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 172 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 172 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 173 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); | 173 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); |
| 174 [Conditional=INSPECTOR] DOMWindow openDummyInspectorFrontend(in DOMStrin
g url); |
| 175 [Conditional=INSPECTOR] void closeDummyInspectorFrontend(); |
| 174 | 176 |
| 175 DOMString counterValue(in Element element); | 177 DOMString counterValue(in Element element); |
| 176 long pageNumber(in Element element, in [Optional] float pageWidth, in [O
ptional] float pageHeight); | 178 long pageNumber(in Element element, in [Optional] float pageWidth, in [O
ptional] float pageHeight); |
| 177 DOMString[] iconURLs(in Document document); | 179 DOMString[] iconURLs(in Document document); |
| 178 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional]
double pageHeightInPixels); | 180 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional]
double pageHeightInPixels); |
| 179 DOMString pageProperty(in DOMString propertyName, in long pageNumber) ra
ises (DOMException); | 181 DOMString pageProperty(in DOMString propertyName, in long pageNumber) ra
ises (DOMException); |
| 180 DOMString pageSizeAndMarginsInPixels(in long pageIndex, in long width, i
n long height, in long marginTop, in long marginRight, in long marginBottom, in
long marginLeft) raises (DOMException); | 182 DOMString pageSizeAndMarginsInPixels(in long pageIndex, in long width, i
n long height, in long marginTop, in long marginRight, in long marginBottom, in
long marginLeft) raises (DOMException); |
| 181 | 183 |
| 182 | 184 |
| 183 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 185 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
| 184 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); | 186 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); |
| 185 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); | 187 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); |
| 186 void webkitWillExitFullScreenForElement(in Document document, in Element
element); | 188 void webkitWillExitFullScreenForElement(in Document document, in Element
element); |
| 187 void webkitDidExitFullScreenForElement(in Document document, in Element
element); | 189 void webkitDidExitFullScreenForElement(in Document document, in Element
element); |
| 188 #endif | 190 #endif |
| 189 | 191 |
| 190 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString sche
me); | 192 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString sche
me); |
| 191 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMStr
ing scheme); | 193 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMStr
ing scheme); |
| 192 | 194 |
| 193 MallocStatistics mallocStatistics(); | 195 MallocStatistics mallocStatistics(); |
| 194 | 196 |
| 195 DOMString[] getReferencedFilePaths(); | 197 DOMString[] getReferencedFilePaths(); |
| 196 }; | 198 }; |
| 197 } | 199 } |
| 198 | 200 |
| OLD | NEW |