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 readonly attribute InternalSettings settings; | 171 readonly attribute InternalSettings settings; |
172 readonly attribute InternalRuntimeFlags runtimeFlags; | 172 readonly attribute InternalRuntimeFlags runtimeFlags; |
173 readonly attribute unsigned long workerThreadCount; | 173 readonly attribute unsigned long workerThreadCount; |
174 | 174 |
175 // Flags for layerTreeAsText. | 175 // Flags for layerTreeAsText. |
176 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. | 176 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. |
177 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; | 177 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; |
178 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 178 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
179 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 179 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
180 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; | 180 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16; |
181 const unsigned short LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON = 32; | 181 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATION_OBJECTS = 32; |
182 const unsigned short LAYER_TREE_INCLUDES_PAINT_INVALIDATION_OBJECTS = 64; | 182 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 64; |
183 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 128; | |
184 [RaisesException, TypeChecking=Interface] DOMString layerTreeAsText(Document
document, optional unsigned short flags); | 183 [RaisesException, TypeChecking=Interface] DOMString layerTreeAsText(Document
document, optional unsigned short flags); |
185 [RaisesException, TypeChecking=Interface] DOMString elementLayerTreeAsText(E
lement element, optional unsigned short flags); | 184 [RaisesException, TypeChecking=Interface] DOMString elementLayerTreeAsText(E
lement element, optional unsigned short flags); |
186 | 185 |
187 [RaisesException, TypeChecking=Interface] boolean scrollsWithRespectTo(Eleme
nt element1, Element element2); | 186 [RaisesException, TypeChecking=Interface] boolean scrollsWithRespectTo(Eleme
nt element1, Element element2); |
188 | 187 |
189 [TypeChecking=Interface] DOMString scrollingStateTreeAsText(Document documen
t); | 188 [TypeChecking=Interface] DOMString scrollingStateTreeAsText(Document documen
t); |
190 [RaisesException, TypeChecking=Interface] DOMString mainThreadScrollingReaso
ns(Document document); | 189 [RaisesException, TypeChecking=Interface] DOMString mainThreadScrollingReaso
ns(Document document); |
191 [RaisesException, TypeChecking=Interface] ClientRectList nonFastScrollableRe
cts(Document document); | 190 [RaisesException, TypeChecking=Interface] ClientRectList nonFastScrollableRe
cts(Document document); |
192 | 191 |
193 [TypeChecking=Interface] void garbageCollectDocumentResources(Document docum
ent); | 192 [TypeChecking=Interface] void garbageCollectDocumentResources(Document docum
ent); |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 | 329 |
331 ClientRectList outlineRects(Element element); | 330 ClientRectList outlineRects(Element element); |
332 void setCapsLockState(boolean enabled); | 331 void setCapsLockState(boolean enabled); |
333 | 332 |
334 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms | 333 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms |
335 // support overlay scrollbars. | 334 // support overlay scrollbars. |
336 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 335 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
337 | 336 |
338 void forceRestrictIFramePermissions(); | 337 void forceRestrictIFramePermissions(); |
339 }; | 338 }; |
OLD | NEW |