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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 171 |
172 // Flags for layerTreeAsText. | 172 // Flags for layerTreeAsText. |
173 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. | 173 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. |
174 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; | 174 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; |
175 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 175 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
176 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 176 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
177 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; | 177 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; |
178 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 178 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
179 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); | 179 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); |
180 | 180 |
181 [RaisesException] NodeList paintOrderListBeforePromote(Element element); | |
182 [RaisesException] NodeList paintOrderListAfterPromote(Element element); | |
183 | |
184 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); | 181 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); |
185 [RaisesException] boolean isUnclippedDescendant(Element element); | 182 [RaisesException] boolean isUnclippedDescendant(Element element); |
186 [RaisesException] boolean needsCompositedScrolling(Element element); | |
187 | 183 |
188 // The values of these constants must be kept in sync with those in RenderLa
yer. | 184 // The values of these constants must be kept in sync with those in RenderLa
yer. |
189 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; | 185 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; |
190 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; | 186 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; |
191 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; | 187 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; |
192 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); | 188 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); |
193 | 189 |
194 [RaisesException] DOMString scrollingStateTreeAsText(Document document); | 190 [RaisesException] DOMString scrollingStateTreeAsText(Document document); |
195 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 191 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
196 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 192 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 [CallWith=ExecutionContext] Promise createPromise(); | 277 [CallWith=ExecutionContext] Promise createPromise(); |
282 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); | 278 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); |
283 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); | 279 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); |
284 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); | 280 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); |
285 | 281 |
286 void startSpeechInput(Element element); | 282 void startSpeechInput(Element element); |
287 void setValueForUser(Element element, DOMString value); | 283 void setValueForUser(Element element, DOMString value); |
288 | 284 |
289 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); | 285 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); |
290 }; | 286 }; |
OLD | NEW |