| 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 // The values of these constants must be kept in sync with the values of Lay
erTreeFlags in GraphicsLayerClient.h. | 180 // The values of these constants must be kept in sync with the values of Lay
erTreeFlags in GraphicsLayerClient.h. |
| 181 const unsigned short LAYER_TREE_INCLUDES_DEBUG_INFO = 1; | 181 const unsigned short LAYER_TREE_INCLUDES_DEBUG_INFO = 1; |
| 182 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS = 2; | 182 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS = 2; |
| 183 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 183 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
| 184 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 184 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
| 185 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; | 185 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; |
| 186 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 32; | 186 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 32; |
| 187 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 187 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
| 188 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); | 188 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); |
| 189 | 189 |
| 190 boolean isStackingContext(Element element); |
| 191 |
| 190 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); | 192 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); |
| 191 | 193 |
| 192 DOMString scrollingStateTreeAsText(Document document); | 194 DOMString scrollingStateTreeAsText(Document document); |
| 193 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 195 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
| 194 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 196 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
| 195 | 197 |
| 196 void evictAllResources(); | 198 void evictAllResources(); |
| 197 | 199 |
| 198 unsigned long numberOfLiveNodes(); | 200 unsigned long numberOfLiveNodes(); |
| 199 unsigned long numberOfLiveDocuments(); | 201 unsigned long numberOfLiveDocuments(); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 | 347 |
| 346 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 348 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 347 | 349 |
| 348 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 350 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 349 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 351 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 350 | 352 |
| 351 DOMString getScrollAnimationState(Node node); | 353 DOMString getScrollAnimationState(Node node); |
| 352 | 354 |
| 353 DOMString getProgrammaticScrollAnimationState(Node node); | 355 DOMString getProgrammaticScrollAnimationState(Node node); |
| 354 }; | 356 }; |
| OLD | NEW |