OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 in boolean ignoreClipping, in boolean allowShadowContent, in boolean all
owChildFrameContent) raises (DOMException); | 162 in boolean ignoreClipping, in boolean allowShadowContent, in boolean all
owChildFrameContent) raises (DOMException); |
163 | 163 |
164 void emitInspectorDidBeginFrame(); | 164 void emitInspectorDidBeginFrame(); |
165 void emitInspectorDidCancelFrame(); | 165 void emitInspectorDidCancelFrame(); |
166 | 166 |
167 boolean hasSpellingMarker(in Document document, in long from, in long length
) raises (DOMException); | 167 boolean hasSpellingMarker(in Document document, in long from, in long length
) raises (DOMException); |
168 boolean hasGrammarMarker(in Document document, in long from, in long length)
raises (DOMException); | 168 boolean hasGrammarMarker(in Document document, in long from, in long length)
raises (DOMException); |
169 boolean hasAutocorrectedMarker(in Document document, in long from, in long l
ength) raises (DOMException); | 169 boolean hasAutocorrectedMarker(in Document document, in long from, in long l
ength) raises (DOMException); |
170 void setContinuousSpellCheckingEnabled(in boolean enabled) raises (DOMExcept
ion); | 170 void setContinuousSpellCheckingEnabled(in boolean enabled) raises (DOMExcept
ion); |
171 | 171 |
| 172 boolean isOverwriteModeEnabled(in Document document) raises (DOMException); |
| 173 void toggleOverwriteModeEnabled(in Document document) raises (DOMException); |
| 174 |
172 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); | 175 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); |
173 | 176 |
174 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D
OMException); | 177 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D
OMException); |
175 | 178 |
176 readonly attribute InternalSettings settings; | 179 readonly attribute InternalSettings settings; |
177 readonly attribute unsigned long workerThreadCount; | 180 readonly attribute unsigned long workerThreadCount; |
178 | 181 |
179 // Flags for layerTreeAsText. | 182 // Flags for layerTreeAsText. |
180 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; | 183 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; |
181 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; | 184 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 DOMString counterValue(in Element element); | 222 DOMString counterValue(in Element element); |
220 long pageNumber(in Element element, in [Optional] float pageWidth, in [Optio
nal] float pageHeight); | 223 long pageNumber(in Element element, in [Optional] float pageWidth, in [Optio
nal] float pageHeight); |
221 DOMString[] shortcutIconURLs(in Document document); | 224 DOMString[] shortcutIconURLs(in Document document); |
222 DOMString[] allIconURLs(in Document document); | 225 DOMString[] allIconURLs(in Document document); |
223 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional] dou
ble pageHeightInPixels); | 226 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional] dou
ble pageHeightInPixels); |
224 DOMString pageProperty(in DOMString propertyName, in long pageNumber) raises
(DOMException); | 227 DOMString pageProperty(in DOMString propertyName, in long pageNumber) raises
(DOMException); |
225 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); | 228 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); |
226 | 229 |
227 void setPageScaleFactor(in float scaleFactor, in long x, in long y) raises(D
OMException); | 230 void setPageScaleFactor(in float scaleFactor, in long x, in long y) raises(D
OMException); |
228 | 231 |
| 232 void setHeaderHeight(in Document document, in float height); |
| 233 void setFooterHeight(in Document document, in float height); |
| 234 |
229 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 235 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
230 void webkitWillEnterFullScreenForElement(in Document document, in Element el
ement); | 236 void webkitWillEnterFullScreenForElement(in Document document, in Element el
ement); |
231 void webkitDidEnterFullScreenForElement(in Document document, in Element ele
ment); | 237 void webkitDidEnterFullScreenForElement(in Document document, in Element ele
ment); |
232 void webkitWillExitFullScreenForElement(in Document document, in Element ele
ment); | 238 void webkitWillExitFullScreenForElement(in Document document, in Element ele
ment); |
233 void webkitDidExitFullScreenForElement(in Document document, in Element elem
ent); | 239 void webkitDidExitFullScreenForElement(in Document document, in Element elem
ent); |
234 #endif | 240 #endif |
235 | 241 |
236 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString scheme); | 242 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString scheme); |
237 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString
scheme); | 243 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString
scheme); |
238 | 244 |
(...skipping 20 matching lines...) Expand all Loading... |
259 void forceReload(in boolean endToEnd); | 265 void forceReload(in boolean endToEnd); |
260 | 266 |
261 [Conditional=VIDEO] void simulateAudioInterruption(in Node node); | 267 [Conditional=VIDEO] void simulateAudioInterruption(in Node node); |
262 | 268 |
263 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); | 269 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
264 | 270 |
265 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); | 271 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); |
266 | 272 |
267 DOMString getImageSourceURL(in Element element) raises(DOMException); | 273 DOMString getImageSourceURL(in Element element) raises(DOMException); |
268 }; | 274 }; |
OLD | NEW |