| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 boolean isPageBoxVisible(Document document, long pageNumber); | 171 boolean isPageBoxVisible(Document document, long pageNumber); |
| 172 | 172 |
| 173 readonly attribute InternalSettings settings; | 173 readonly attribute InternalSettings settings; |
| 174 readonly attribute InternalRuntimeFlags runtimeFlags; | 174 readonly attribute InternalRuntimeFlags runtimeFlags; |
| 175 readonly attribute unsigned long workerThreadCount; | 175 readonly attribute unsigned long workerThreadCount; |
| 176 | 176 |
| 177 // Flags for layerTreeAsText. | 177 // Flags for layerTreeAsText. |
| 178 // The values of these constants must be kept in sync with the values of Lay
erTreeFlags in GraphicsLayerClient.h. | 178 // The values of these constants must be kept in sync with the values of Lay
erTreeFlags in GraphicsLayerClient.h. |
| 179 const unsigned short LAYER_TREE_INCLUDES_DEBUG_INFO = 1; | 179 const unsigned short LAYER_TREE_INCLUDES_DEBUG_INFO = 1; |
| 180 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; | 180 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS = 2; |
| 181 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 181 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
| 182 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 182 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
| 183 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; | 183 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; |
| 184 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATION_OBJECTS = 32; | 184 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 32; |
| 185 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 64; | |
| 186 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 185 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
| 187 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); | 186 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); |
| 188 | 187 |
| 189 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); | 188 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); |
| 190 | 189 |
| 191 DOMString scrollingStateTreeAsText(Document document); | 190 DOMString scrollingStateTreeAsText(Document document); |
| 192 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 191 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
| 193 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 192 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
| 194 | 193 |
| 195 void evictAllResources(); | 194 void evictAllResources(); |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 355 |
| 357 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 356 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 358 | 357 |
| 359 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 358 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 361 | 360 |
| 362 DOMString getScrollAnimationState(Node node); | 361 DOMString getScrollAnimationState(Node node); |
| 363 | 362 |
| 364 DOMString getProgrammaticScrollAnimationState(Node node); | 363 DOMString getProgrammaticScrollAnimationState(Node node); |
| 365 }; | 364 }; |
| OLD | NEW |