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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 readonly attribute InternalSettings settings; | 162 readonly attribute InternalSettings settings; |
163 readonly attribute InternalProfilers profilers; | 163 readonly attribute InternalProfilers profilers; |
164 readonly attribute InternalRuntimeFlags runtimeFlags; | 164 readonly attribute InternalRuntimeFlags runtimeFlags; |
165 readonly attribute unsigned long workerThreadCount; | 165 readonly attribute unsigned long workerThreadCount; |
166 | 166 |
167 // Flags for layerTreeAsText. | 167 // Flags for layerTreeAsText. |
168 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. | 168 // The values of these constants must be kept in sync with the values of Lay
erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. |
169 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; | 169 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; |
170 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 170 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
| 171 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
171 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 172 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
172 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); | 173 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); |
173 | 174 |
174 [RaisesException] NodeList paintOrderListBeforePromote(Element element); | 175 [RaisesException] NodeList paintOrderListBeforePromote(Element element); |
175 [RaisesException] NodeList paintOrderListAfterPromote(Element element); | 176 [RaisesException] NodeList paintOrderListAfterPromote(Element element); |
176 | 177 |
177 // The values of these constants must be kept in sync with those in RenderLa
yer. | 178 // The values of these constants must be kept in sync with those in RenderLa
yer. |
178 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; | 179 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; |
179 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; | 180 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; |
180 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; | 181 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 void forceReload(boolean endToEnd); | 248 void forceReload(boolean endToEnd); |
248 | 249 |
249 void enableMockSpeechSynthesizer(); | 250 void enableMockSpeechSynthesizer(); |
250 | 251 |
251 [RaisesException] DOMString getImageSourceURL(Element element); | 252 [RaisesException] DOMString getImageSourceURL(Element element); |
252 | 253 |
253 boolean isSelectPopupVisible(Node node); | 254 boolean isSelectPopupVisible(Node node); |
254 | 255 |
255 [RaisesException] ClientRect selectionBounds(); | 256 [RaisesException] ClientRect selectionBounds(); |
256 }; | 257 }; |
OLD | NEW |