| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // Flags for layerTreeAsText. | 162 // Flags for layerTreeAsText. |
| 163 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. | 163 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. |
| 164 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; | 164 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; |
| 165 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 165 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
| 166 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 166 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
| 167 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; | 167 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; |
| 168 [RaisesException, TypeChecking=Interface] DOMString layerTreeAsText(Document
document, optional unsigned short flags); | 168 [RaisesException, TypeChecking=Interface] DOMString layerTreeAsText(Document
document, optional unsigned short flags); |
| 169 [RaisesException, TypeChecking=Interface] DOMString elementLayerTreeAsText(E
lement element, optional unsigned short flags); | 169 [RaisesException, TypeChecking=Interface] DOMString elementLayerTreeAsText(E
lement element, optional unsigned short flags); |
| 170 | 170 |
| 171 [RaisesException, TypeChecking=Interface] boolean scrollsWithRespectTo(Eleme
nt element1, Element element2); | 171 [RaisesException, TypeChecking=Interface] boolean scrollsWithRespectTo(Eleme
nt element1, Element element2); |
| 172 [RaisesException, TypeChecking=Interface] boolean isUnclippedDescendant(Elem
ent element); | |
| 173 | 172 |
| 174 [TypeChecking=Interface] DOMString scrollingStateTreeAsText(Document documen
t); | 173 [TypeChecking=Interface] DOMString scrollingStateTreeAsText(Document documen
t); |
| 175 [RaisesException, TypeChecking=Interface] DOMString mainThreadScrollingReaso
ns(Document document); | 174 [RaisesException, TypeChecking=Interface] DOMString mainThreadScrollingReaso
ns(Document document); |
| 176 [RaisesException, TypeChecking=Interface] ClientRectList nonFastScrollableRe
cts(Document document); | 175 [RaisesException, TypeChecking=Interface] ClientRectList nonFastScrollableRe
cts(Document document); |
| 177 | 176 |
| 178 [TypeChecking=Interface] void garbageCollectDocumentResources(Document docum
ent); | 177 [TypeChecking=Interface] void garbageCollectDocumentResources(Document docum
ent); |
| 179 void evictAllResources(); | 178 void evictAllResources(); |
| 180 | 179 |
| 181 unsigned long numberOfLiveNodes(); | 180 unsigned long numberOfLiveNodes(); |
| 182 unsigned long numberOfLiveDocuments(); | 181 unsigned long numberOfLiveDocuments(); |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 unsigned long countHitRegions(CanvasRenderingContext2D context); | 283 unsigned long countHitRegions(CanvasRenderingContext2D context); |
| 285 | 284 |
| 286 DOMString serializeNavigationMarkup(); | 285 DOMString serializeNavigationMarkup(); |
| 287 void hideAllTransitionElements(); | 286 void hideAllTransitionElements(); |
| 288 | 287 |
| 289 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl
ement plugin, DocumentFragment fragment); | 288 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl
ement plugin, DocumentFragment fragment); |
| 290 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl
ement plugin, Dictionary options); | 289 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl
ement plugin, Dictionary options); |
| 291 | 290 |
| 292 DictionaryTest dictionaryTest(); | 291 DictionaryTest dictionaryTest(); |
| 293 }; | 292 }; |
| OLD | NEW |