| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 [RaisesException] DOMString suggestedValue(Element inputElement); | 123 [RaisesException] DOMString suggestedValue(Element inputElement); |
| 124 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val
ue); | 124 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val
ue); |
| 125 [RaisesException] void setEditingValue(Element inputElement, DOMString value
); | 125 [RaisesException] void setEditingValue(Element inputElement, DOMString value
); |
| 126 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); | 126 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); |
| 127 | 127 |
| 128 Range rangeFromLocationAndLength(Element scope, long rangeLocation, long ran
geLength); | 128 Range rangeFromLocationAndLength(Element scope, long rangeLocation, long ran
geLength); |
| 129 unsigned long locationFromRange(Element scope, Range range); | 129 unsigned long locationFromRange(Element scope, Range range); |
| 130 unsigned long lengthFromRange(Element scope, Range range); | 130 unsigned long lengthFromRange(Element scope, Range range); |
| 131 DOMString rangeAsText(Range range); | 131 DOMString rangeAsText(Range range); |
| 132 | 132 |
| 133 [RaisesException] DOMPoint touchPositionAdjustedToBestClickableNode(long x,
long y, long width, long height, Document document); | 133 [CallWith=ScriptState, RaisesException] any touchPositionAdjustedToBestClick
ableNode(long x, long y, long width, long height, Document document); |
| 134 [RaisesException] Node touchNodeAdjustedToBestClickableNode(long x, long y,
long width, long height, Document document); | 134 [RaisesException] Node touchNodeAdjustedToBestClickableNode(long x, long y,
long width, long height, Document document); |
| 135 [RaisesException] DOMPoint touchPositionAdjustedToBestContextMenuNode(long x
, long y, long width, long height, Document document); | 135 [CallWith=ScriptState, RaisesException] any touchPositionAdjustedToBestConte
xtMenuNode(long x, long y, long width, long height, Document document); |
| 136 [RaisesException] Node touchNodeAdjustedToBestContextMenuNode(long x, long y
, long width, long height, Document document); | 136 [RaisesException] Node touchNodeAdjustedToBestContextMenuNode(long x, long y
, long width, long height, Document document); |
| 137 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l
ong width, long height, Document document); | 137 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l
ong width, long height, Document document); |
| 138 | 138 |
| 139 [RaisesException] long lastSpellCheckRequestSequence(Document document); | 139 [RaisesException] long lastSpellCheckRequestSequence(Document document); |
| 140 [RaisesException] long lastSpellCheckProcessedSequence(Document document); | 140 [RaisesException] long lastSpellCheckProcessedSequence(Document document); |
| 141 | 141 |
| 142 sequence<DOMString> userPreferredLanguages(); | 142 sequence<DOMString> userPreferredLanguages(); |
| 143 void setUserPreferredLanguages(sequence<DOMString> languages); | 143 void setUserPreferredLanguages(sequence<DOMString> languages); |
| 144 | 144 |
| 145 unsigned long activeDOMObjectCount(Document document); | 145 unsigned long activeDOMObjectCount(Document document); |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 void forceRestrictIFramePermissions(); | 352 void forceRestrictIFramePermissions(); |
| 353 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 353 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
| 354 | 354 |
| 355 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 355 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 356 | 356 |
| 357 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 357 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 359 | 359 |
| 360 int getScrollAnimationState(Node node); | 360 int getScrollAnimationState(Node node); |
| 361 }; | 361 }; |
| OLD | NEW |