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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 readonly attribute InternalSettings settings; | 159 readonly attribute InternalSettings settings; |
160 readonly attribute InternalRuntimeFlags runtimeFlags; | 160 readonly attribute InternalRuntimeFlags runtimeFlags; |
161 readonly attribute unsigned long workerThreadCount; | 161 readonly attribute unsigned long workerThreadCount; |
162 | 162 |
163 // Flags for layerTreeAsText. | 163 // Flags for layerTreeAsText. |
164 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; | 164 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; |
165 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; | 165 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; |
166 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; | 166 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; |
167 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8; | 167 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8; |
| 168 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 16; |
168 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 169 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
169 | 170 |
170 [RaisesException] NodeList paintOrderListBeforePromote(Element element); | 171 [RaisesException] NodeList paintOrderListBeforePromote(Element element); |
171 [RaisesException] NodeList paintOrderListAfterPromote(Element element); | 172 [RaisesException] NodeList paintOrderListAfterPromote(Element element); |
172 | 173 |
173 // The values of these constants must be kept in sync with those in RenderLa
yer. | 174 // The values of these constants must be kept in sync with those in RenderLa
yer. |
174 const unsigned short DoNotForceCompositedScrolling = 0; | 175 const unsigned short DoNotForceCompositedScrolling = 0; |
175 const unsigned short CompositedScrollingAlwaysOn = 1; | 176 const unsigned short CompositedScrollingAlwaysOn = 1; |
176 const unsigned short CompositedScrollingAlwaysOff = 2; | 177 const unsigned short CompositedScrollingAlwaysOff = 2; |
177 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); | 178 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 void forceReload(boolean endToEnd); | 245 void forceReload(boolean endToEnd); |
245 | 246 |
246 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); | 247 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
247 | 248 |
248 void enableMockSpeechSynthesizer(); | 249 void enableMockSpeechSynthesizer(); |
249 | 250 |
250 [RaisesException] DOMString getImageSourceURL(Element element); | 251 [RaisesException] DOMString getImageSourceURL(Element element); |
251 | 252 |
252 boolean isSelectPopupVisible(Node node); | 253 boolean isSelectPopupVisible(Node node); |
253 }; | 254 }; |
OLD | NEW |