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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // If the argument is omitted, the top-level document is used. | 97 // If the argument is omitted, the top-level document is used. |
98 boolean hasAutofocusRequest(optional Document document); | 98 boolean hasAutofocusRequest(optional Document document); |
99 [RaisesException] DOMString[] formControlStateOfHistoryItem(); | 99 [RaisesException] DOMString[] formControlStateOfHistoryItem(); |
100 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString>
values); | 100 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString>
values); |
101 readonly attribute Window pagePopupWindow; | 101 readonly attribute Window pagePopupWindow; |
102 | 102 |
103 [RaisesException] ClientRect absoluteCaretBounds(); | 103 [RaisesException] ClientRect absoluteCaretBounds(); |
104 | 104 |
105 [TypeChecking=Interface] ClientRect boundingBox(Element element); | 105 [TypeChecking=Interface] ClientRect boundingBox(Element element); |
106 | 106 |
| 107 void fakeOutOfMemoryForNextArrayBufferAllocation(); |
| 108 |
107 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N
ode node, DOMString markerType); | 109 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N
ode node, DOMString markerType); |
108 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node); | 110 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node); |
109 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node
, DOMString markerType, unsigned long index); | 111 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node
, DOMString markerType, unsigned long index); |
110 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode
(Node node, DOMString markerType, unsigned long index); | 112 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode
(Node node, DOMString markerType, unsigned long index); |
111 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi
ve); | 113 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi
ve); |
112 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star
tOffset, unsigned long endOffset, boolean active); | 114 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star
tOffset, unsigned long endOffset, boolean active); |
113 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight
); | 115 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight
); |
114 | 116 |
115 [RaisesException, TypeChecking=Interface] void setFrameViewPosition(Document
document, long x, long y); | 117 [RaisesException, TypeChecking=Interface] void setFrameViewPosition(Document
document, long x, long y); |
116 | 118 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 void setCapsLockState(boolean enabled); | 353 void setCapsLockState(boolean enabled); |
352 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled); | 354 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled); |
353 | 355 |
354 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms | 356 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms |
355 // support overlay scrollbars. | 357 // support overlay scrollbars. |
356 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 358 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
357 | 359 |
358 void forceRestrictIFramePermissions(); | 360 void forceRestrictIFramePermissions(); |
359 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 361 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
360 }; | 362 }; |
OLD | NEW |