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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 [RaisesException] DOMString viewportAsText(Document document, | 111 [RaisesException] DOMString viewportAsText(Document document, |
112 float devicePixelRatio, | 112 float devicePixelRatio, |
113 long availableWidth, | 113 long availableWidth, |
114 long availableHeight); | 114 long availableHeight); |
115 | 115 |
116 [RaisesException] boolean wasLastChangeUserEdit(Element textField); | 116 [RaisesException] boolean wasLastChangeUserEdit(Element textField); |
117 [RaisesException] boolean elementShouldAutoComplete(Element inputElement); | 117 [RaisesException] boolean elementShouldAutoComplete(Element inputElement); |
118 [RaisesException] DOMString suggestedValue(Element inputElement); | 118 [RaisesException] DOMString suggestedValue(Element inputElement); |
119 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val
ue); | 119 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val
ue); |
| 120 [RaisesException] void setValueAfterUserGesture(Element inputElement, DOMStr
ing value); |
120 [RaisesException] void setEditingValue(Element inputElement, DOMString value
); | 121 [RaisesException] void setEditingValue(Element inputElement, DOMString value
); |
121 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); | 122 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); |
122 | 123 |
123 [RaisesException] void scrollElementToRect(Element element, long x, long y,
long w, long h); | 124 [RaisesException] void scrollElementToRect(Element element, long x, long y,
long w, long h); |
124 | 125 |
125 [RaisesException] Range rangeFromLocationAndLength(Element scope, long range
Location, long rangeLength); | 126 [RaisesException] Range rangeFromLocationAndLength(Element scope, long range
Location, long rangeLength); |
126 [RaisesException] unsigned long locationFromRange(Element scope, Range range
); | 127 [RaisesException] unsigned long locationFromRange(Element scope, Range range
); |
127 [RaisesException] unsigned long lengthFromRange(Element scope, Range range); | 128 [RaisesException] unsigned long lengthFromRange(Element scope, Range range); |
128 [RaisesException] DOMString rangeAsText(Range range); | 129 [RaisesException] DOMString rangeAsText(Range range); |
129 | 130 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 [CallWith=ExecutionContext] Promise createPromise(); | 283 [CallWith=ExecutionContext] Promise createPromise(); |
283 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); | 284 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); |
284 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); | 285 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); |
285 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); | 286 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); |
286 | 287 |
287 void startSpeechInput(Element element); | 288 void startSpeechInput(Element element); |
288 void setValueForUser(Element element, DOMString value); | 289 void setValueForUser(Element element, DOMString value); |
289 | 290 |
290 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); | 291 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); |
291 }; | 292 }; |
OLD | NEW |