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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 [RaisesException] ClientRect absoluteCaretBounds(); | 99 [RaisesException] ClientRect absoluteCaretBounds(); |
100 | 100 |
101 ClientRect boundingBox(Element element); | 101 ClientRect boundingBox(Element element); |
102 | 102 |
103 [RaisesException] void setMarker(Document document, Range range, DOMString m
arkerType); | 103 [RaisesException] void setMarker(Document document, Range range, DOMString m
arkerType); |
104 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark
erType); | 104 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark
erType); |
105 unsigned long activeMarkerCountForNode(Node node); | 105 unsigned long activeMarkerCountForNode(Node node); |
106 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType,
unsigned long index); | 106 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType,
unsigned long index); |
107 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma
rkerType, unsigned long index); | 107 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma
rkerType, unsigned long index); |
108 void addTextMatchMarker(Range range, boolean isActive); | 108 [RaisesException] void addTextMatchMarker(Range range, DOMString matchStatus
); |
109 [RaisesException] void addCompositionMarker(Range range, DOMString underline
ColorValue, boolean thick, DOMString backgroundColorValue); | 109 [RaisesException] void addCompositionMarker(Range range, DOMString underline
ColorValue, boolean thick, DOMString backgroundColorValue); |
110 void setMarkersActive(Node node, unsigned long startOffset, unsigned long en
dOffset, boolean active); | 110 void setMarkersActive(Node node, unsigned long startOffset, unsigned long en
dOffset, boolean active); |
111 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight
); | 111 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight
); |
112 | 112 |
113 [RaisesException] void setFrameViewPosition(Document document, long x, long
y); | 113 [RaisesException] void setFrameViewPosition(Document document, long x, long
y); |
114 | 114 |
115 [RaisesException] DOMString viewportAsText(Document document, | 115 [RaisesException] DOMString viewportAsText(Document document, |
116 float devicePixelRatio, | 116 float devicePixelRatio, |
117 long availableWidth, | 117 long availableWidth, |
118 long availableHeight); | 118 long availableHeight); |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 DOMString getProgrammaticScrollAnimationState(Node node); | 371 DOMString getProgrammaticScrollAnimationState(Node node); |
372 | 372 |
373 ClientRect visualRect(Node node); | 373 ClientRect visualRect(Node node); |
374 | 374 |
375 OriginTrialsTest originTrialsTest(); | 375 OriginTrialsTest originTrialsTest(); |
376 | 376 |
377 void crash(); | 377 void crash(); |
378 | 378 |
379 void setIsLowEndDevice(boolean isLowEndDevice); | 379 void setIsLowEndDevice(boolean isLowEndDevice); |
380 }; | 380 }; |
OLD | NEW |