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