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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 [RaisesException] ClientRect unscaledViewportRect(); | 90 [RaisesException] ClientRect unscaledViewportRect(); |
91 | 91 |
92 [RaisesException] ClientRect absoluteCaretBounds(); | 92 [RaisesException] ClientRect absoluteCaretBounds(); |
93 | 93 |
94 [RaisesException] ClientRect boundingBox(Element element); | 94 [RaisesException] ClientRect boundingBox(Element element); |
95 | 95 |
96 [RaisesException] ClientRectList inspectorHighlightRects(Document document); | 96 [RaisesException] ClientRectList inspectorHighlightRects(Document document); |
97 | 97 |
98 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark
erType); | 98 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark
erType); |
| 99 [RaisesException] unsigned long activeMarkerCountForNode(Node node); |
99 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType,
unsigned long index); | 100 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType,
unsigned long index); |
100 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma
rkerType, unsigned long index); | 101 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma
rkerType, unsigned long index); |
101 void addTextMatchMarker(Range range, boolean isActive); | 102 void addTextMatchMarker(Range range, boolean isActive); |
| 103 [RaisesException] void setMarkersActive(Node node, unsigned long startOffset
, unsigned long endOffset, boolean active); |
102 | 104 |
103 [RaisesException] void setScrollViewPosition(Document document, long x, long
y); | 105 [RaisesException] void setScrollViewPosition(Document document, long x, long
y); |
104 | 106 |
105 [RaisesException] void setPagination(Document document, DOMString mode, long
gap, optional long pageLength); | 107 [RaisesException] void setPagination(Document document, DOMString mode, long
gap, optional long pageLength); |
106 | 108 |
107 [RaisesException] DOMString configurationForViewport(Document document, | 109 [RaisesException] DOMString viewportAsText(Document document, |
108 float devicePixelRatio, | 110 float devicePixelRatio, |
109 long deviceWidth, | 111 long availableWidth, |
110 long deviceHeight, | 112 long availableHeight); |
111 long availableWidth, | |
112 long availableHeight); | |
113 | 113 |
114 [RaisesException] boolean wasLastChangeUserEdit(Element textField); | 114 [RaisesException] boolean wasLastChangeUserEdit(Element textField); |
115 [RaisesException] boolean elementShouldAutoComplete(Element inputElement); | 115 [RaisesException] boolean elementShouldAutoComplete(Element inputElement); |
116 [RaisesException] DOMString suggestedValue(Element inputElement); | 116 [RaisesException] DOMString suggestedValue(Element inputElement); |
117 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val
ue); | 117 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val
ue); |
118 [RaisesException] void setEditingValue(Element inputElement, DOMString value
); | 118 [RaisesException] void setEditingValue(Element inputElement, DOMString value
); |
119 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); | 119 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); |
120 | 120 |
121 [RaisesException] void paintControlTints(Document document); | 121 [RaisesException] void paintControlTints(Document document); |
122 | 122 |
(...skipping 12 matching lines...) Expand all Loading... |
135 | 135 |
136 [RaisesException] long lastSpellCheckRequestSequence(Document document); | 136 [RaisesException] long lastSpellCheckRequestSequence(Document document); |
137 [RaisesException] long lastSpellCheckProcessedSequence(Document document); | 137 [RaisesException] long lastSpellCheckProcessedSequence(Document document); |
138 | 138 |
139 sequence<DOMString> userPreferredLanguages(); | 139 sequence<DOMString> userPreferredLanguages(); |
140 void setUserPreferredLanguages(sequence<DOMString> languages); | 140 void setUserPreferredLanguages(sequence<DOMString> languages); |
141 | 141 |
142 [RaisesException] unsigned long wheelEventHandlerCount(Document document); | 142 [RaisesException] unsigned long wheelEventHandlerCount(Document document); |
143 [RaisesException] unsigned long touchEventHandlerCount(Document document); | 143 [RaisesException] unsigned long touchEventHandlerCount(Document document); |
144 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document
); | 144 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document
); |
145 [RaisesException] unsigned long touchEventTargetLayerRectsUpdateCount(Docume
nt document); | 145 |
146 | 146 |
147 [RaisesException] NodeList nodesFromRect(Document document, long x, long y, | 147 [RaisesException] NodeList nodesFromRect(Document document, long x, long y, |
148 unsigned long topPadding, unsigned long rightPadding, unsigned long bott
omPadding, unsigned long leftPadding, | 148 unsigned long topPadding, unsigned long rightPadding, unsigned long bott
omPadding, unsigned long leftPadding, |
149 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr
ameContent); | 149 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr
ameContent); |
150 | 150 |
151 void emitInspectorDidBeginFrame(); | 151 void emitInspectorDidBeginFrame(); |
152 void emitInspectorDidCancelFrame(); | 152 void emitInspectorDidCancelFrame(); |
153 | 153 |
154 [RaisesException] boolean hasSpellingMarker(Document document, long from, lo
ng length); | 154 [RaisesException] boolean hasSpellingMarker(Document document, long from, lo
ng length); |
155 [RaisesException] boolean hasGrammarMarker(Document document, long from, lon
g length); | 155 [RaisesException] boolean hasGrammarMarker(Document document, long from, lon
g length); |
(...skipping 15 matching lines...) Expand all Loading... |
171 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. | 171 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. |
172 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; | 172 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; |
173 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 173 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
174 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 174 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
175 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 175 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
176 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); | 176 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); |
177 | 177 |
178 [RaisesException] NodeList paintOrderListBeforePromote(Element element); | 178 [RaisesException] NodeList paintOrderListBeforePromote(Element element); |
179 [RaisesException] NodeList paintOrderListAfterPromote(Element element); | 179 [RaisesException] NodeList paintOrderListAfterPromote(Element element); |
180 | 180 |
| 181 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); |
| 182 |
181 // The values of these constants must be kept in sync with those in RenderLa
yer. | 183 // The values of these constants must be kept in sync with those in RenderLa
yer. |
182 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; | 184 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; |
183 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; | 185 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; |
184 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; | 186 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; |
185 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); | 187 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); |
186 | 188 |
187 [RaisesException] DOMString scrollingStateTreeAsText(Document document); | 189 [RaisesException] DOMString scrollingStateTreeAsText(Document document); |
188 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 190 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
189 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 191 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
190 | 192 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 void enableMockSpeechSynthesizer(); | 255 void enableMockSpeechSynthesizer(); |
254 | 256 |
255 [RaisesException] DOMString getImageSourceURL(Element element); | 257 [RaisesException] DOMString getImageSourceURL(Element element); |
256 | 258 |
257 boolean isSelectPopupVisible(Node node); | 259 boolean isSelectPopupVisible(Node node); |
258 | 260 |
259 [RaisesException] ClientRect selectionBounds(); | 261 [RaisesException] ClientRect selectionBounds(); |
260 | 262 |
261 boolean loseSharedGraphicsContext3D(); | 263 boolean loseSharedGraphicsContext3D(); |
262 }; | 264 }; |
OLD | NEW |