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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 readonly attribute unsigned long workerThreadCount; | 180 readonly attribute unsigned long workerThreadCount; |
181 | 181 |
182 // Flags for layerTreeAsText. | 182 // Flags for layerTreeAsText. |
183 // The values of these constants must be kept in sync with the values of Lay erTreeFlags in GraphicsLayerClient.h. | 183 // The values of these constants must be kept in sync with the values of Lay erTreeFlags in GraphicsLayerClient.h. |
184 const unsigned short LAYER_TREE_INCLUDES_DEBUG_INFO = 1; | 184 const unsigned short LAYER_TREE_INCLUDES_DEBUG_INFO = 1; |
185 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS = 2; | 185 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS = 2; |
186 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 186 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
187 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 187 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
188 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; | 188 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; |
189 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 32; | 189 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 32; |
190 const unsigned short OUTPUT_CHILDREN_AS_LAYER_LIST = 64; | |
Xianzhu
2016/09/30 23:19:38
Nit: Should we use the same prefix as the existing
chrishtr
2016/09/30 23:20:53
The other ones all say LAYER_TREE, which seemed co
Xianzhu
2016/10/01 00:14:03
Acknowledged.
| |
191 | |
190 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi gned short flags); | 192 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi gned short flags); |
191 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags); | 193 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags); |
192 | 194 |
193 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele ment2); | 195 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele ment2); |
194 | 196 |
195 DOMString scrollingStateTreeAsText(Document document); | 197 DOMString scrollingStateTreeAsText(Document document); |
196 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 198 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
197 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 199 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
198 | 200 |
199 void evictAllResources(); | 201 void evictAllResources(); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
354 DOMString getScrollAnimationState(Node node); | 356 DOMString getScrollAnimationState(Node node); |
355 | 357 |
356 DOMString getProgrammaticScrollAnimationState(Node node); | 358 DOMString getProgrammaticScrollAnimationState(Node node); |
357 | 359 |
358 ClientRect visualRect(Node node); | 360 ClientRect visualRect(Node node); |
359 | 361 |
360 OriginTrialsTest originTrialsTest(); | 362 OriginTrialsTest originTrialsTest(); |
361 | 363 |
362 void crash(); | 364 void crash(); |
363 }; | 365 }; |
OLD | NEW |