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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 ClientRect boundingBox(Element element); | 108 ClientRect boundingBox(Element element); |
109 | 109 |
110 [RaisesException] void setMarker(Document document, Range range, DOMString m
arkerType); | 110 [RaisesException] void setMarker(Document document, Range range, DOMString m
arkerType); |
111 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark
erType); | 111 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark
erType); |
112 unsigned long activeMarkerCountForNode(Node node); | 112 unsigned long activeMarkerCountForNode(Node node); |
113 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType,
unsigned long index); | 113 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType,
unsigned long index); |
114 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma
rkerType, unsigned long index); | 114 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma
rkerType, unsigned long index); |
115 [RaisesException] void addTextMatchMarker(Range range, DOMString matchStatus
); | 115 [RaisesException] void addTextMatchMarker(Range range, DOMString matchStatus
); |
116 [RaisesException] void addCompositionMarker(Range range, DOMString underline
ColorValue, DOMString thicknessValue, DOMString backgroundColorValue); | 116 [RaisesException] void addCompositionMarker(Range range, DOMString underline
ColorValue, DOMString thicknessValue, DOMString backgroundColorValue); |
| 117 [RaisesException] void addActiveSuggestionMarker(Range range, DOMString unde
rlineColorValue, DOMString thicknessValue, DOMString backgroundColorValue); |
117 void setTextMatchMarkersActive(Node node, unsigned long startOffset, unsigne
d long endOffset, boolean active); | 118 void setTextMatchMarkersActive(Node node, unsigned long startOffset, unsigne
d long endOffset, boolean active); |
118 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight
); | 119 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight
); |
119 | 120 |
120 [RaisesException] void setFrameViewPosition(Document document, long x, long
y); | 121 [RaisesException] void setFrameViewPosition(Document document, long x, long
y); |
121 | 122 |
122 [RaisesException] DOMString viewportAsText(Document document, | 123 [RaisesException] DOMString viewportAsText(Document document, |
123 float devicePixelRatio, | 124 float devicePixelRatio, |
124 long availableWidth, | 125 long availableWidth, |
125 long availableHeight); | 126 long availableHeight); |
126 | 127 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 DOMString getProgrammaticScrollAnimationState(Node node); | 381 DOMString getProgrammaticScrollAnimationState(Node node); |
381 | 382 |
382 ClientRect visualRect(Node node); | 383 ClientRect visualRect(Node node); |
383 | 384 |
384 OriginTrialsTest originTrialsTest(); | 385 OriginTrialsTest originTrialsTest(); |
385 | 386 |
386 void crash(); | 387 void crash(); |
387 | 388 |
388 void setIsLowEndDevice(boolean isLowEndDevice); | 389 void setIsLowEndDevice(boolean isLowEndDevice); |
389 }; | 390 }; |
OLD | NEW |