| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 in float devicePixelRatio, | 118 in float devicePixelRatio, |
| 119 in long deviceWidth, | 119 in long deviceWidth, |
| 120 in long deviceHeight, | 120 in long deviceHeight, |
| 121 in long availableWidth, | 121 in long availableWidth, |
| 122 in long availableHeight) raises(DOMExcept
ion); | 122 in long availableHeight) raises(DOMExcept
ion); |
| 123 | 123 |
| 124 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException); | 124 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException); |
| 125 DOMString suggestedValue(in Element inputElement) raises (DOMException); | 125 DOMString suggestedValue(in Element inputElement) raises (DOMException); |
| 126 void setSuggestedValue(in Element inputElement, in DOMString value) raises (
DOMException); | 126 void setSuggestedValue(in Element inputElement, in DOMString value) raises (
DOMException); |
| 127 void setEditingValue(in Element inputElement, in DOMString value) raises (DO
MException); | 127 void setEditingValue(in Element inputElement, in DOMString value) raises (DO
MException); |
| 128 void setAutofilled(in Element inputElement, in boolean enabled) raises(DOMEx
ception); |
| 128 | 129 |
| 129 void paintControlTints(in Document document) raises (DOMException); | 130 void paintControlTints(in Document document) raises (DOMException); |
| 130 | 131 |
| 131 void scrollElementToRect(in Element element, in long x, in long y, in long w
, in long h) raises (DOMException); | 132 void scrollElementToRect(in Element element, in long x, in long y, in long w
, in long h) raises (DOMException); |
| 132 | 133 |
| 133 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation, in
long rangeLength) raises (DOMException); | 134 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation, in
long rangeLength) raises (DOMException); |
| 134 unsigned long locationFromRange(in Element scope, in Range range) raises (DO
MException); | 135 unsigned long locationFromRange(in Element scope, in Range range) raises (DO
MException); |
| 135 unsigned long lengthFromRange(in Element scope, in Range range) raises (DOME
xception); | 136 unsigned long lengthFromRange(in Element scope, in Range range) raises (DOME
xception); |
| 136 DOMString rangeAsText(in Range range) raises (DOMException); | 137 DOMString rangeAsText(in Range range) raises (DOMException); |
| 137 | 138 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 151 void setUserPreferredLanguages(in sequence<DOMString> languages); | 152 void setUserPreferredLanguages(in sequence<DOMString> languages); |
| 152 | 153 |
| 153 unsigned long wheelEventHandlerCount(in Document document) raises (DOMExcept
ion); | 154 unsigned long wheelEventHandlerCount(in Document document) raises (DOMExcept
ion); |
| 154 unsigned long touchEventHandlerCount(in Document document) raises (DOMExcept
ion); | 155 unsigned long touchEventHandlerCount(in Document document) raises (DOMExcept
ion); |
| 155 #if defined(ENABLE_TOUCH_EVENT_TRACKING) && ENABLE_TOUCH_EVENT_TRACKING | 156 #if defined(ENABLE_TOUCH_EVENT_TRACKING) && ENABLE_TOUCH_EVENT_TRACKING |
| 156 ClientRectList touchEventTargetClientRects(in Document document) raises (DOM
Exception); | 157 ClientRectList touchEventTargetClientRects(in Document document) raises (DOM
Exception); |
| 157 #endif | 158 #endif |
| 158 | 159 |
| 159 NodeList nodesFromRect(in Document document, in long x, in long y, | 160 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 160 in unsigned long topPadding, in unsigned long rightPadding, in unsigned
long bottomPadding, in unsigned long leftPadding, | 161 in unsigned long topPadding, in unsigned long rightPadding, in unsigned
long bottomPadding, in unsigned long leftPadding, |
| 161 in boolean ignoreClipping, in boolean allowShadowContent) raises (DOMExc
eption); | 162 in boolean ignoreClipping, in boolean allowShadowContent, in boolean all
owChildFrameContent) raises (DOMException); |
| 162 | 163 |
| 163 void emitInspectorDidBeginFrame(); | 164 void emitInspectorDidBeginFrame(); |
| 164 void emitInspectorDidCancelFrame(); | 165 void emitInspectorDidCancelFrame(); |
| 165 | 166 |
| 166 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); |
| 167 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); |
| 168 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); |
| 169 | 170 |
| 170 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); | 171 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); |
| 171 | 172 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 245 |
| 245 // Returns a string with information about the mouse cursor used at the spec
ified client location. | 246 // Returns a string with information about the mouse cursor used at the spec
ified client location. |
| 246 DOMString getCurrentCursorInfo(in Document document) raises (DOMException); | 247 DOMString getCurrentCursorInfo(in Document document) raises (DOMException); |
| 247 | 248 |
| 248 SerializedScriptValue deserializeBuffer(in ArrayBuffer buffer); | 249 SerializedScriptValue deserializeBuffer(in ArrayBuffer buffer); |
| 249 ArrayBuffer serializeObject(in SerializedScriptValue obj); | 250 ArrayBuffer serializeObject(in SerializedScriptValue obj); |
| 250 | 251 |
| 251 void setUsesOverlayScrollbars(in boolean enabled); | 252 void setUsesOverlayScrollbars(in boolean enabled); |
| 252 | 253 |
| 253 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); | 254 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
| 255 |
| 256 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); |
| 254 }; | 257 }; |
| OLD | NEW |